BM.circle | R Documentation |
Several points moving randomly in a circle.
BM.circle(n = 20, col = rainbow(n), ...)
n |
number of points |
col |
colors of points |
... |
other parameters passed to |
This is a solution to the question raised in R-help: https://stat.ethz.ch/pipermail/r-help/2008-December/183018.html.
Invisible NULL
.
The maximum number of steps in the motion is specified in
ani.options('nmax')
.
Yihui Xie
Examples at https://yihui.org/animation/example/bm-circle/
brownian.motion
, rnorm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.