sim.crw.3d: Simulation of a three dimensional Correlated Random Walk

View source: R/testing3D.R

sim.crw.3dR Documentation

Simulation of a three dimensional Correlated Random Walk

Description

Simulation of a three dimensional Correlated Random Walk

Usage

sim.crw.3d(nStep, rTurn, rLift, meanStep, start = c(0, 0, 0))

Arguments

nStep

the number of steps of the simulated trajectory

rTurn

the correlation on the turn angle

rLift

the correlation of the lift angle

meanStep

the mean step length

start

a vector of length 3 containing the coordinates of the start point of the trajectory

Value

A trajectory in the form of data.frame

Examples

sim.crw.3d(nStep = 10, rTurn = 0.9, rLift = 0.9, meanStep = 1, start = c(0, 0, 0))

munterfinger/eRTG3D documentation built on March 25, 2022, 1:22 a.m.