walk | R Documentation |
Brownian motion on the 2d space
walk(start_pos, quiescent = FALSE, sd_y = 0.5)
start_pos |
numeric vector of length 2 with current position of animal in x and y coords |
quiescent |
Whether the fly can walk (FALSE) or not (TRUE) |
sd_y |
standard deviation of the normal distribution governing the movement on y |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.