Description Usage Arguments Details Value See Also
View source: R/lhs.revisit.add.R
Computes revisitation rate based on a minimum and maximum time away period
1 2 | lhs.revisit.add(lhs, ta.min = NULL, ta.max = NULL, ta.cuts = NULL,
status = TRUE)
|
lhs |
A LoCoH-hullset object |
ta.min |
Minimum value(s) for time away in seconds (numeric vector) |
ta.max |
Maximum value(s) for time away in seconds (numeric vector) |
ta.cuts |
A numeric vector of time values in seconds that define the time-away intervals |
status |
Show status messages. T/F |
ta.min
and ta.max
define the minimum and maximum period of time (in seconds) which must pass for another occurence in the hull to
be considered a 'revisit'. They should be the same lengths. If ta.max
is NULL, no upper bound will be set
ta.cuts
is an alternative way of specifying the time-away intervals. The time values in ta.cuts
will serve as the values between
time away intervals. For example if ta.cuts = c(1000,4000,7000,10000)
, three time-away intervals will be examined: 1000 to 4000
seconds, 4000 to 7000 seconds, and 7000 to 10000 seconds. One way to get the values for ta.cuts
is to plot the distribution
of revisit times using lhs.plot.revisit
, and then use the get.vals
function to select time values between clusters of revisit times.
A LoCoH-hullset object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.