Learn R Programming

mclust (version 6.0.1)

summary.MclustDA: Summarizing discriminant analysis based on Gaussian finite mixture modeling

Description

Summary method for class "MclustDA".

Usage

# S3 method for MclustDA
summary(object, parameters = FALSE, newdata, newclass, ...)
# S3 method for summary.MclustDA
print(x, digits = getOption("digits"), ...)

Value

The function summary.MclustDA computes and returns a list of summary statistics of the estimated MclustDA or EDDA model for classification.

Arguments

object

An object of class 'MclustDA' resulting from a call to MclustDA.

x

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

parameters

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

newdata

A data frame or matrix giving the test data.

newclass

A vector giving the class labels for the observations in the test data.

digits

The number of significant digits to use when printing.

...

Further arguments passed to or from other methods.

Author

Luca Scrucca

See Also

MclustDA, plot.MclustDA.

Examples

Run this code
mod = MclustDA(data = iris[,1:4], class = iris$Species)
summary(mod)
summary(mod, parameters = TRUE)

Run the code above in your browser using DataLab