dmixedvm {CircStats}R Documentation

Mixture of von Mises Distributions

Description

Evaluates the density function of a mixture of two von Mises distributions.

Usage

dmixedvm(theta, mu1, mu2, kappa1, kappa2, p)

Arguments

theta vector of values at which to evaluate the density function.
mu1 mean direction in radians of one of the two von Mises distributions.
mu2 mean direction in radians 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.

Details

Evaluates the density function p*VM(mu1, kappa1) + (1-p)*VM(mu2, kappa2), where VM is the von Mises density function.

Value

Evaluates the density function of a mixture of two von Mises distributions at a given vector of values, theta.

See Also

rmixedvm


[Package CircStats version 0.2-4 Index]