rhrOU: Simulate movement with home ranging behavior as an...

Description Usage Arguments Value References

View source: R/rhrOU.R

Description

Implementation of Ornstein-Uhlenbeck process using the Euler-Maruyama method. dt is always set to 1.

Usage

1
2
rhrOU(n = 1000, A = matrix(c(0.1, 0, 0, 0.1), 2), xy0, mu = c(0, 0), time,
  sigma = 0.3)

Arguments

n

Numeric scalar. The number of time steps.

A

Numeric matrix with dimension 2*2. The matrix A controlls the pull back towards the home-range center (mu).

xy0

Numeric vector. The start position. If xy0 is missing it is set to mu.

mu

Numeric vector. The home-range center.

time

Vector of POSIXct objects. Providing the time stamp of relocations. If time is missing, a sequence of time stamps generated starting at the current time in one minute time steps.

sigma

Numeric scalar. Controls the exent of the walk.

Value

An object of class RhrTrajST.

References

Fieberg, J. (2007). Kernel density estimators of home range: smoothing and the autocorrelation red herring. Ecology, 88(4), 1059-1066.


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