rhrTTSI: rhrTTSI

Description Usage Arguments Value Author(s) References Examples

Description

This a wrapper around rhrSchoener to calculate time to statistical indpendence from a series of intervals.

Usage

1
  rhrTTSI(dat, interval, ntimes = 3, ...)

Arguments

dat

data.frame, with three columns: x and y coordinates and a timestamp in seconds.

interval

numeric value, the initial interval considered

ntimes

numeric value, the number of times the critical value needs to be exceeded in order to reach independence.

...

further arguments passed to rhrSchoener.

Value

vector vector of length three. V is Schoeners v, n the number of points and m the number of point pairs considered to calculated t2.

Author(s)

Johannes Signer

References

Swihart, R. and Slade N. 1985, Testing for indpendence of observations in animal movement, Ecology, 66(4), 1176 - 1184

Examples

1
2
3
4
5
6
7
8
## Not run: 
library(rhr)
data(datSH)
dat <- data.frame(datSH[, 2:3], timestamp=as.numeric(ymd(datSH$day) + hms(datSH$time)))
ttsi <- rhrTTSI(dat, interval=5*60*50)
plot(ttsi)

## End(Not run)

rhr documentation built on May 2, 2019, 6:06 p.m.

Related to rhrTTSI in rhr...