Description Usage Arguments Value Examples
Simulate a single trajectory of a random walk
1 | single_trajectory(T, p = 0.5, nozero = FALSE)
|
T |
time horizon |
p |
up probability (defaults to 0.5) |
nozero |
whether to remove the leading zero |
vector
1 | single_trajectory(T=10, p=0.3, nozero=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.