Description Usage Arguments Value Examples
View source: R/BatMixturesFitting.R
Fit mixtures of inverse or power Batschelet distributions.
1 2 3 |
x |
A dataset of angles in radians. |
bat_type |
String; Either "power" or "inverse", denoting the type of Batschelet distribution to employ. |
n_comp |
The number of components to be used in the mixture. This is fixed, so it can not be estimated. |
init_pmat |
An |
fixed_pmat |
An |
ll_tol |
Numeric; the algorithm is stopped after the log-likelihood
improves less than |
max_its |
The maximum number of iterations. |
verbose |
Logical; whether to print debug statements. |
optimization_its |
Integer; The maximum number of iterations to perform in the M-step (Maximization) part of the algorithm. |
A parameter matrix of results.
1 2 | dat <- rinvbatmix(100)
batmixEM(dat, n_comp = 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.