sim.crw.3d {eRTG3D} | R 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))
```

[Package

*eRTG3D*version 0.7.0 Index]