nVarParams {mclust} | R Documentation |
Number of Variance Parameters in Gaussian Mixture Models
Description
Gives the number of variance parameters for parameterizations of the Gaussian mixture model that are used in MCLUST.
Usage
nVarParams(modelName, d, G, ...)
Arguments
modelName |
A character string indicating the model. The help file for
|
d |
The dimension of the data. Not used for models in which neither the shape nor the orientation varies. |
G |
The number of components in the Gaussian mixture model used to compute
|
... |
Catches unused arguments in indirect or list calls via |
Details
To get the total number of parameters in model, add G*d
for the
means and G-1
for the mixing proportions if they are unequal.
Value
The number of variance parameters in the corresponding Gaussian mixture model.
See Also
Examples
mapply(nVarParams, mclust.options("emModelNames"), d = 2, G = 3)
[Package mclust version 6.1.1 Index]