Learn R Programming

robustbase (version 0.1-2)

summary.mcd: Summary Method for MCD objects

Description

summary method for class "mcd".

Usage

## S3 method for class 'mcd':
summary(object, digits = max(3, getOption("digits") - 3), ...)

Arguments

object
an object of class "mcd", usually, a result of a call to covMcd.
digits
the number of significant digits to use when printing.
...
further arguments passed to or from other methods.

Value

  • The mcd object is returned.

Details

This function prints summary statistics for the weighted covariance matrix and location estimates with weights based on MCD estimates. While the function print.mcd prints only the robust estimates of the location and the covariance matrix, summary.mcd will print also the correlation matrix (if requested in the call to covMcd with cor=TRUE), the eigenvalues of the covariance or the correlation matrix and the robust distances.

See Also

summary

Examples

Run this code
data(Animals, package = "MASS")
brain <- Animals[c(1:24, 26:25, 27:28),]
lbrain <- log(brain)
summary(cLB <- covMcd(lbrain))

Run the code above in your browser using DataLab