mixedvonmises | R Documentation |
Density and random generation for the mixed von Mises circular distribution.
dmixedvonmises(x, mu1, mu2, kappa1, kappa2, prop)
rmixedvonmises(n, mu1, mu2, kappa1, kappa2, prop, control.circular = list())
pmixedvonmises(q, mu1, mu2, kappa1, kappa2, prop, from=NULL, tol = 1e-020)
x , q |
a vector. The object is coerced to class |
n |
number of observations. |
mu1 |
mean direction of one of the two von Mises distributions as a |
mu2 |
mean direction of the other von Mises distribution as a |
kappa1 |
concentration parameter of one of the two von Mises distributions. |
kappa2 |
concentration parameter of the other von Mises distribution. |
prop |
mixing proportion. |
from |
if |
tol |
the precision in evaluating the distribution function or the quantile. |
control.circular |
the attribute of the resulting object. |
dmixedvonmises
gives the density, pmixedvonmises
gives the
distribution function and rmixedvonmises
generates random deviates.
Claudio Agostinelli and Ulric Lund
dvonmises
pvonmises
and rvonmises
x <- rmixedvonmises(n=100, mu1=circular(0), mu2=circular(pi), kappa1=15,
kappa2=15, prop=0.5)
plot(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.