rhrRW: Simulate a random walk in 2D.

Description Usage Arguments Value

View source: R/rhrRW.R

Description

Individum moves in a planar coordinate system according to a simple random walk.

Usage

1
rhrRW(xy0 = c(0, 0), n = 1000, sigma = 1, time)

Arguments

xy0

Numeric vector of length two. The initial coordinates.

n

Numeric scalar. The number of steps.

sigma

Numeric scalar or vector of length n. Controlls the step lengths.

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.

Value

Object of class RhrTrajST


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