hist.locoh.lxy: Plot histograms of properties of a LoCoH-xy object

Description Usage Arguments Value

Description

Displays histogram(s) of point-to-point step length, velocity, and sampling frequency for a LoCoH-xy object

Usage

1
2
3
4
5
6
## S3 method for class 'locoh.lxy'
hist(x, lxy, id = NULL, dt = TRUE, d = TRUE,
  delta.t = TRUE, v = TRUE, figs.per.page = NULL, col = "gray80",
  lo.save = TRUE, dt.bins.base = c("secs", "mins", "hours", "days")[4],
  dt.bins.width = 3600 * 24 * 7, delta.t.num.sd = NULL, d.tct = 1.2,
  time.unit = "auto", overlay.median = TRUE, breaks = 20, ...)

Arguments

x

A LoCoH-xy object

lxy

Deprecated, use x instead

id

The id value(s) to be plotted

dt

Include a histogram of the number of locations over time) (T/F)

d

Include a histogram of distance travelled per adjacent points (i.e., step length) (T/F)

delta.t

Include a histogram of the time between points (i.e., sampling frequency) (T/F)

v

Include a histogram of point velocity (distance over delta.t) (T/F)

figs.per.page

Number of plots per page

col

The color of the bars

lo.save

Whether to set the plot device options (margins, rows and columns). T/F.

dt.bins.base

Where to start the first bin ((for histogram of number of points over time): "secs", "mins", "hours", "days"

dt.bins.width

The width of the time bins (for histogram of number of points over time). In seconds.

delta.t.num.sd

Number of standard deviations for delta.t to be included in the histogram. To omit outliers from appearing in the histogram (which can make the central data more difficult to discern, set delta.t.num.sd to ~2. Ignored if delta.t=F.

d.tct

temporal connectivity thsesshold for the distance between two points to be included in the histogram of step length. In other words, detlta.t must be <= median delta.t * d.tct). Ignored if d=F.

time.unit

The unit of time on the x-axis (character). Ignored if delta.t=F.

overlay.median

Plot the median value on the histogram (T/F)

breaks

Argument passed to the hist function, see hist

...

Other parameters to be passed to hist

Value

A list of frequencies with one element for each of the histograms plotted.


tlocoh documentation built on May 2, 2019, 5:27 p.m.