rhrSchoener: Schoener's ratio

Description Usage Arguments Details Value References

View source: R/rhrSchoener.R

Description

Function to calculate Schoeners V.

Usage

1
rhrSchoener(dat, interval, alpha = 0.25, minM = 10, consec = TRUE)

Arguments

dat

data.frame with 3 columns. The first column contains x coordinates, the second column contains y coordinates and the third column contains a timestamp as POSIXct.

interval

Numeric scalar, the interval in seconds.

alpha

Numeric scalar, alpha value used to calculate the critical value.

minM

Numeric scalar, the minimum number of pairs required, if m is smaller than this argument it will return NA.

consec

Locagical scalar, indicates whether or not the observations are consecutive (i.e., equally spaced in time) or not.

Details

This implementation uses the normal distribution as a sampling distribution. Relocations are ordered by timestamp and then relocations are sampled based on interval. If relocations are not equally spaced the nearest relocation forward is used.

Value

vector vector of length six.

References

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


jmsigner/rhr documentation built on June 26, 2020, 8:59 a.m.