Learn R Programming

mclust (version 6.0.1)

summary.Mclust: Summarizing Gaussian Finite Mixture Model Fits

Description

Summary method for class "Mclust".

Usage

# S3 method for Mclust
summary(object, classification = TRUE, parameters = FALSE, ...)
# S3 method for summary.Mclust
print(x, digits = getOption("digits"), ...)

Arguments

object

An object of class 'Mclust' resulting of a call to Mclust or densityMclust.

x

An object of class 'summary.Mclust', usually, a result of a call to summary.Mclust.

classification

Logical; if TRUE a table of MAP classification/clustering of observations is printed.

parameters

Logical; if TRUE, the parameters of mixture components are printed.

digits

The number of significant digits to use when printing.

...

Further arguments passed to or from other methods.

Author

Luca Scrucca

See Also

Mclust, densityMclust.

Examples

Run this code
# \donttest{
mod1 = Mclust(iris[,1:4])
summary(mod1)
summary(mod1, parameters = TRUE, classification = FALSE)

mod2 = densityMclust(faithful, plot = FALSE)
summary(mod2)
summary(mod2, parameters = TRUE)
# }

Run the code above in your browser using DataLab