generalize | R Documentation |
Track
, Tracks
and TracksCollection
Generalize objects of class Track
, Tracks
and TracksCollection
.
## S4 method for signature 'Track'
generalize(t, FUN = mean, ..., timeInterval, distance, n, tol, toPoints)
## S4 method for signature 'Tracks'
generalize(t, FUN = mean, ...)
## S4 method for signature 'TracksCollection'
generalize(t, FUN = mean, ...)
t |
An object of class |
FUN |
The generalization method to be applied. Defaults to |
timeInterval |
(lower limit) time interval to split Track into segments |
distance |
(lower limit) distance to split Track into segments |
n |
number of points to form segments |
tol |
tolerance passed on to st_simplify, to generalize segments using the Douglas-Peucker algorithm. |
toPoints |
keep mid point rather than forming SpatialLines segments |
... |
Additional arguments passed to FUN |
An object of class Track
, Tracks
or TracksCollection
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.