subsample {adehabitatLT} | R Documentation |
This function subsamples a regular trajectory (i.e. changes the time lag between successive relocations).
subsample(ltraj, dt, nlo = 1, units = c("sec", "min", "hour", "day"), ...)
ltraj |
an object of class |
dt |
numeric value. The new time lag (should be a multiple of
the time lag in |
nlo |
an integer, or a vector of integers (with length equal to
the number of bursts in |
units |
character string. The time units of |
... |
additional arguments to be passed to other functions |
An object of class ltraj
Clement Calenge clement.calenge@ofb.gouv.fr
ltraj
for additional information on objects of
class ltraj
, is.regular
for regular trajectories.
data(capreotf) plot(capreotf) toto <- subsample(capreotf, dt = 900) plot(toto)