Learn R Programming

ICSShiny (version 0.4)

MCD: Wrapper for MCD location and scatter estimates

Description

The function returns, for some multivariate data, the MCD location and scatter estimates obtained from CovMcd.

Usage

MCD(x, ...)

Arguments

x

numeric data matrix or dataframe.

further arguments passed to or from other methods.

Value

location

MCD location vector.

scatter

MCD scatter estimate.

Details

The use of the ICSShiny function requires to pass as an argument a list with: the location vector and the scatter matrix, as the first two arguments.

The MCD function is proposed inside the ICSShiny application.

References

CovMcd

See Also

CovMcd, ICSShiny

Examples

Run this code
# NOT RUN {
library(ICSShiny)
res.MCD <- MCD(iris[, 1:4], alpha = 0.75)
# }

Run the code above in your browser using DataLab