Description Usage Arguments Value Examples
Fit a mixture of multivariate Gaussians
1 2 3 4 5 6 |
x, x_A, x_B |
Data frame or a matrix |
groups |
The number of groups/mixture components to fit. |
maxiter |
The maximum number of iterations for the E-M algorithm. |
likelihood |
Logical indicating whether the log-likelihood should be
calculated at each step and returned (defaults to |
verbose |
Print verbose output if |
plot |
Visualise the mixture model as it progresses. |
z |
A matrix of cluster probabilities. |
mean_A |
Mean vectors for previous batch. |
sigma_AA |
Covariance matrices for previous batch. |
pro |
Mixing proportions. |
abstol |
Stopping tolerance for likelihood. |
method_sigma_AB |
One of |
updateA |
Logical, if |
A list containing the estimated parameters for the mixture distribution.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.