hmd.DA.mx(data, sex="female")mclustDAtrain, the parameters and other summary information for the model best fitting each class according to BIC.mclustDAtest, A matrix in which the [i,j]th entry is the density for that test observation i in the model for class j.C. Fraley and A. E. Raftery (2002) "Model-based clustering, discriminant analysis, and density estimation." Journal of the American Statistical Association 97:611-631.
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
Human Mortality Database University of California, Berkeley (USA), and Max Planck Institute for Demographic Research (Germany). Available at www.mortality.org or www.humanmortality.de (data downloaded on [November 2009]).
mclustDAtest, mclustDAtrain, Mclust# some test data
data(MLTobs)
examp.data <- t(flt.mx[1:2,1:10])
# classify the test data
examp.out <- hmd.DA.mx(data=examp.data, sex="female")
examp.out$classificationRun the code above in your browser using DataLab