sigma2decomp(sigma, G=NULL, tol=NULL, ...)
sigma
is a 3-D array, the number of components
can be inferred from its dimensions.sqrt(.Machine$double.eps)
,
which is about 1.e-8
do.call
.mclustModelNames
describes the available models.[,,k]
th entry is the orthonomal matrix whose columns are the
eigenvectors of the covariance matrix of the kth component,
or a d by d orthonormal matrix if the mixture
components have a common orientation. The orientation
component of
decomp
can be omitted in spherical and diagonal models, for
which the principal components are parallel to the coordinate axes
so that the orientation matrix is the identity.C. Fraley and A. E. Raftery (2006). MCLUST Version 3 for R: Normal Mixture Modeling and Model-Based Clustering, Technical Report no. 504, Department of Statistics, University of Washington.
decomp2sigma
meEst <- meEEE(iris[,-5], unmap(iris[,5]))
names(meEst$parameters$variance)
meEst$parameters$variance$Sigma
sigma2decomp(meEst$parameters$variance$Sigma, G = length(unique(iris[,5])))
Run the code above in your browser using DataLab