binClstPath-class {EMbC}R Documentation

Binary Clustering Path Class

Description

binClstPath is a binClst subclass for fast and easy speed/turn-clustering of movement trajectories. The input trajectory is given as a data.frame with, at least, the columns (timeStamp,longitude,latitude). This format is described in detail in the class constructor stbc. As a binClst subclass, this class inherits all slots and functionality of its parent class.

Slots

pth

A data.frame with the trajectory timestamps and geolocation coordinates, plus eventual extra columns that were included in the input path data frame, (see the stbc constructor).

spn

A numeric vector with the time intervals between locations (in seconds).

dst

A numeric vector with the distances between locations (in meters). We use loxodromic computations.

hdg

A numeric vector with local heading directions (in radians from North). We use loxodromic computations.

bursted

A logical value indicating whether the binClstPath instance has already been bursted. As bursting can be computationally demanding for long trajectories, an instance is bursted only when a burst wise representation of the trajectory' is requested for the first time, (unless this value is changed to FALSE).

tracks

If bursted=TRUE, a SpatialLinesDataFrame object ("sp" R-package) with the bursted track segments.

midPoints

If bursted=TRUE, a SpatialPointsDataFrame object ("sp" R-package) with the bursted track midpoints.


[Package EMbC version 2.0.4 Index]