Get started
Collection of methods for producing random walks in two-dimensional space outputting position coordinates in data frames, including alternatives for grid and non-grid space. In R, it uses tidyverse "tibble" to construct the data frames that store trajectories.
Code and demonstration in Rmarkdown
See full list of documentation resources in documentation
.
Name | Type | Description |
---|---|---|
initialX, initialY | float (numeric) | initial position x and y coordinates. |
Name | Type | Description |
---|---|---|
trajectory | data frame | A dataframe (tibble in R) with three columns holding numeric variables (named "steps", "X", and "Y") where each row correspond to the index and xy coordinates of a step in a random walk. |