lxy.subset {tlocoh} | R Documentation |
Returns a subset of a LoCoH-xy object based on the id, ptid, idx, or dates
lxy.subset(lxy, id = NULL, ptid = NULL, idx = NULL, dt.start = NULL, dt.end = NULL, dt.int.round.to = 0.1, tau.diff.max = 0.02)
lxy |
A LoCoH-xy object |
id |
The id value(s) to include in the subset |
ptid |
A vector of ptid values for the subset of points |
idx |
A vector of indices for the subset of points |
dt.start |
A starting date for the subset. POSIXct object (or something that can be coered to POSIXct) |
dt.end |
An ending date for the subset. POSIXct object (or something that can be coered to POSIXct) |
dt.int.round.to |
The proportion of the median sampling frequency that time intervals will be rounded to when computing the frequency table of sampling intervals (no change is made to the time stamps) |
tau.diff.max |
The maximum deviation from tau (expressed as a proportion of tau) that a point-to-point time difference must fall within for the point-to-point distance to be included in the calculation of the median step length |
A LoCoH-xy object
xyt.lxy
, lxy.repair
, lxy.thin.byfreq
, lxy.thin.bursts
, lxy.merge