Description Usage Arguments Details Value Author(s) References See Also Examples
It performs model based clustering for circualr, spherical and hyperspherical data assuming von Mises-Fisher distributions.
1 | mix.vmf(x, g ,n.start = 20)
|
x |
A matrix with the data expressed as unit vectors. |
g |
The number of groups to fit. It must be greater than or equal to 2. |
n.start |
The number of random starts to try. See also R's built-in function |
The initial step of the algorithm is not based on a spherical k-means, but on s imple k-means. The results are comparable to the package movMF.
A list including:
param |
A matrix with the mean direction, the concetrations parameter and mixing probability of each group. |
loglik |
The value of the maximised log-likelihood. |
pred |
The predicted group of each observation. |
runtime |
The run time of the algorithm. A numeric vector. The first element is the user time, the second element is the system time and the third element is the elapsed time. |
Michail Tsagris
R implementation and documentation: Michail Tsagris <[email protected]> and Giorgos Athineou <[email protected]>
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
rmixvmf, bic.mixvmf, mixvmf.contour
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.