Learn R Programming

circular (version 0.1)

mixedvonmises: Mixture of von Mises Distributions

Description

Density and random generation for the mixed von Mises circular distribution.

Usage

dmixedvonmises(x, mu1, mu2, kappa1, kappa2, p)
rmixedvonmises(n, mu1, mu2, kappa1, kappa2, p, units = c("radians",
"degrees"), ...)

Arguments

x
a vector. The object is coerced to class circular.
n
number of observations.
mu1
mean direction of one of the two von Mises distributions.
mu2
mean direction of the other von Mises distribution.
kappa1
concentration parameter of one of the two von Mises distributions.
kappa2
concentration parameter of the other von Mises distribution.
p
mixing proportion.
units
units of measure desired.
...
parameters passed to circular.

Value

  • dmixedvonmises gives the density and rmixedvonmises generates random deviates.

See Also

dvonmises and rvonmises