EMFit | R Documentation |
The function normalmixEM in R package mixtools is employed for fitting multi-component normal mixture models.
EMFit(x, k0, mean_constr, sd_constr, npara, d0)
x |
A numeric vector |
k0 |
Number of components in the normal mixture model |
mean_constr |
A constrain on means of components |
sd_constr |
A constrain on standard deviations of components |
npara |
Number of parameters |
d0 |
Number of times for fitting mixture model using different starting values |
Normal mixture model fit and BIC value of the log-likelihood
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.