summary.Mclust: Summarizing Gaussian Finite Mixture Model Fits

View source: R/mclust.R

summary.MclustR Documentation

Summarizing Gaussian Finite Mixture Model Fits

Description

Summary method for class "Mclust".

Usage

## S3 method for class 'Mclust'
summary(object, classification = TRUE, parameters = FALSE, ...)
## S3 method for class '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(s)

Luca Scrucca

See Also

Mclust, densityMclust.

Examples


mod1 = Mclust(iris[,1:4])
summary(mod1)
summary(mod1, parameters = TRUE, classification = FALSE)

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


mclust documentation built on May 29, 2024, 8:06 a.m.