Description Usage Arguments Examples
View source: R/bounded_random_walk.R
This function creates a random or semi-random walk bounded by a maximum distance from the starting position.
1 | bounded_walk(n.times = 100, maxDist = 10, start = c(0, 0))
|
n.times |
integer, the number of steps to take (default 100) |
maxDist |
numeric, the maximum distance from starting posistion (default NA) |
start |
x and y starting position (default (0,0)) |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.