summary.mcd {robustbase} | R Documentation |
summary
method for class "mcd"
.
## S3 method for class 'mcd': summary(object, digits = max(3, getOption("digits") - 3), ...)
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. |
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.
The mcd
object is returned.
data(Animals, package = "MASS") brain <- Animals[c(1:24, 26:25, 27:28),] lbrain <- log(brain) summary(cLB <- covMcd(lbrain))