Description Usage Arguments Value Examples
For a vector of angles, will return the parameters of a mixture of von Mises distributions, using an EM algorithm.
1 | EM.vonmises(x, k, max.runs = 1000, conv = 1e-05)
|
x |
Vector of angles to be fitted |
k |
Number of von Mises components to be fitted |
max.runs |
Maximum number of iterations to attempt. Default is 1000. |
conv |
Maximum difference in log-likelihood between successive iterations before convergence is considered to have occurred. Default is 0.00001. |
List containing k, with k estimates of mu, kappa, alpha (proportion of population belonging to each component), log-likelihood found, number of iterations required, and first 10 iterations. Can be passed to plot.EM.vonmises
to be displayed graphically.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.