Learn R Programming

circular (version 0.3-1)

wrappedNormal: Wrapped Normal Density Function

Description

Density, and random generation for the wrapped normal circular distribution.

Usage

dwrappednormal(x, mu = 0, rho, sd = 1, K, min.k = 10)
rwrappednormal(n, mu = 0, rho, sd = 1, units = c("radians", "degrees"), ...)

Arguments

x
a vector. The object is coerced to class circular.
n
number of observations.
mu
mean direction of the distribution.
rho
concentration parameter of the distribution. rho must be in the interval from 0 to 1.
sd
standard deviation of the (unwrapped) normal distribution.
K
number of terms to be used in approximating the density.
min.k
minimum number of terms used in approximating the density.
units
units of measure desired.
...
parameters passed to circular.

Value

  • dwrappednormal gives the density and rwrappednormal generates random deviates.

References

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