simulate_walk: Simulate a data frame of paths of a random walk

Description Usage Arguments Value Examples

View source: R/random_walk.R

Description

Simulate a data frame of paths of a random walk

Usage

1
simulate_walk(nsim, T, p = 0.5)

Arguments

nsim

number of trajectories simulated

T

time horizon

p

up probability (defaults to 0.5)

Value

data.framelibrary

Examples

1
simulate_walk(nsim=5, T=10, p=0.3)

gordanz/lanci documentation built on Oct. 16, 2020, 5:09 p.m.