Track
, Tracks
and TracksCollection
Generalize objects of class Track
, Tracks
and TracksCollection
.
# S4 method for Track
generalize(t, FUN = mean, ..., timeInterval, distance, n, tol, toPoints)
# S4 method for Tracks
generalize(t, FUN = mean, ...)
# S4 method for TracksCollection
generalize(t, FUN = mean, ...)
An object of class Track
, Tracks
or TracksCollection
.
The generalization method to be applied. Defaults to mean
if none is passed.
(lower limit) time interval to split Track into segments
(lower limit) distance to split Track into segments
number of points to form segments
tolerance passed on to gSimplify, to generalize segments using the Douglas-Peucker algorithm.
keep mid point rather than forming SpatialLines segments
Additional arguments passed to FUN
An object of class Track
, Tracks
or TracksCollection
.