lxy.plot.pt2ctr: Plot distance to centroid over time

Description Usage Arguments Note See Also

Description

Produces a plot of the distance of each point to the centroid over time to see 'natural' periodicities in the data

Usage

1
2
3
lxy.plot.pt2ctr(lxy, id = NULL, idx = NULL, vline = NULL,
  vline.trunc.units.to = c("secs", "mins", "hours", "days")[4],
  figs.per.page = NULL, ...)

Arguments

lxy

A LoCoH-xy object

id

The id value(s) to include on the plot

idx

An optional vector of indices of points that the plot will be restricted to. See notes

vline

An interval of time (in seconds) for the vertical grid lines

vline.trunc.units.to

A character value: "secs", "mins", "hours", or "days". Determines where the first vertical grid lines will appear

figs.per.page

The number of figures per page

...

Additional parameters that will be passed to the plot function

Note

The purpose of this graph is to help see the 'natural' movement cycles in a dataset, when no a priori information exists that helps identify the time scale of interest. In T-locoh, defining the timescale of interest helps to select a value for s.

To 'zoom in' to a section of the timeline, pass a value for idx. For example, if there are 5000 points in the dataset

If a value is passed for vline, the first vertical line will coincide with a multiple of vline.trunc.units.to. For example, if vline=3600*24(24 hours), and vline.trunc.units.to="days", the first vertical line will be the beginning of a day regardless of when the point series started. This can be helpful for seeing cycles of a specific frequency.

See Also

lxy.plot.sfinder



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.