1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/BM.circle.R
\name{BM.circle}
\alias{BM.circle}
\title{Brownian Motion in a circle}
\usage{
BM.circle(n = 20, col = rainbow(n), ...)
}
\arguments{
\item{n}{number of points}
\item{col}{colors of points}
\item{\dots}{other parameters passed to \code{\link{points}}}
}
\value{
Invisible \code{NULL}.
}
\description{
Several points moving randomly in a circle.
}
\details{
This is a solution to the question raised in R-help:
\url{https://stat.ethz.ch/pipermail/r-help/2008-December/183018.html}.
}
\note{
The maximum number of steps in the motion is specified in
\code{ani.options('nmax')}.
}
\references{
Examples at \url{https://yihui.org/animation/example/bm-circle/}
}
\seealso{
\code{\link{brownian.motion}}, \code{\link{rnorm}}
}
\author{
Yihui Xie
}
|