Description Usage Arguments Value Examples
Simulate a data frame of paths of a random walk
1 | simulate_walk(nsim, T, p = 0.5)
|
nsim |
number of trajectories simulated |
T |
time horizon |
p |
up probability (defaults to 0.5) |
data.framelibrary
1 | simulate_walk(nsim=5, T=10, p=0.3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.