RW2dimension: Function to Compute Direction Random Walk Moves

View source: R/RW2dimension.R

RW2dimensionR Documentation

Function to Compute Direction Random Walk Moves

Description

The RW2dimension function computes direction random walk moves.

Usage

RW2dimension(steps = 100, probs = c(0.25, 0.5, 0.75))

Arguments

steps

An integer that counts the number of steps of the random walk.

probs

A vector of double that specifies the probabilities to choose each direction.

Author(s)

Stéphane Guerrier

Examples

RW2dimension(steps = 50, probs = c(0.2, 0.5, 0.6))

simts documentation built on Aug. 31, 2023, 5:07 p.m.