Circular Uniform | R Documentation |
Density and random generation for the Circular Uniform distribution on the whole circle.
dcircularuniform(x)
rcircularuniform(n, control.circular=list())
x |
a vector. The object is not coerced to class |
n |
number of observations. |
control.circular |
the attribute of the resulting object. |
dcircularuniform
gives the density and rcircularuniform
generates random deviates.
Claudio Agostinelli
Jammalamadaka, S. Rao and SenGupta, A. (2001). Topics in Circular Statistics, Section 2.2.1, World Scientific Press, Singapore.
data1 <- rcircularuniform(100, control.circular=list(units="degrees"))
plot(data1)
curve.circular(dcircularuniform, join=TRUE, xlim=c(-1.2, 1.2),
ylim=c(-1.2, 1.2), main="Density of a Circular Uniform Distribution")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.