uniform: Circular Uniform Density Function

Description Usage Arguments Value Author(s) References Examples

Description

Density and random generation for the Circular Uniform distribution on the whole circle.

Usage

1
2
dcircularuniform(x)
rcircularuniform(n, control.circular=list())

Arguments

x

a vector. The object is not coerced to class circular.

n

number of observations.

control.circular

the attribute of the resulting object.

Value

dcircularuniform gives the density and rcircularuniform generates random deviates.

Author(s)

Claudio Agostinelli

References

Jammalamadaka, S. Rao and SenGupta, A. (2001). Topics in Circular Statistics, Section 2.2.1, World Scientific Press, Singapore.

Examples

1
2
3
4
5
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")

circular documentation built on May 2, 2019, 4:42 p.m.