BM.circle: Brownian Motion in a circle

Description Usage Arguments Details Value Note Author(s) References See Also

View source: R/BM.circle.R

Description

Several points moving randomly in a circle.

Usage

1
BM.circle(n = 20, col = rainbow(n), ...)

Arguments

n

number of points

col

colors of points

...

other parameters passed to points

Details

This is a solution to the question raised in R-help: https://stat.ethz.ch/pipermail/r-help/2008-December/183018.html.

Value

Invisible NULL.

Note

The maximum number of steps in the motion is specified in ani.options('nmax').

Author(s)

Yihui Xie

References

Examples at https://yihui.org/animation/example/bm-circle/

See Also

brownian.motion, rnorm


animation documentation built on Oct. 7, 2021, 9:18 a.m.