lxy.subset: Take a subset of a LoCoH-xy object

Description Usage Arguments Value See Also

Description

Returns a subset of a LoCoH-xy object based on the id, ptid, idx, or dates

Usage

1
2
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)

Arguments

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

Value

A LoCoH-xy object

See Also

xyt.lxy, lxy.repair, lxy.thin.byfreq, lxy.thin.bursts, lxy.merge



Search within the tlocoh package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.