Simulation of random values from a mixture of von Mises-Fisher distributions: Simulation of random values from a mixture of von Mises-Fisher distributions
Description
The function simulates random values simulation from a given mixture of von Mises-Fisher distributions.
Usage
rmixvmf(n, probs, mu, k)
Value
A list including:
id
An indicator of the group of each simulated vector.
x
A matrix with the simulated data.
Arguments
n
The sample size.
probs
This is avector with the mixing probability of each group.
mu
A matrix with the mean direction of each group.
k
A vector with the concentration parameter of each group.
Author
Michail Tsagris.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
Details
The function simulates random values simulation from a given mixture of von Mises-Fisher distributions using the rvmf function.
References
Kurt Hornik and Bettina Grun (2014). movMF: An R Package for Fitting Mixtures of von Mises-Fisher Distributions
http://cran.r-project.org/web/packages/movMF/vignettes/movMF.pdf