outl_det_m: Multivariate outlier detection

View source: R/mt_extra.R

outl_det_mR Documentation

Multivariate outlier detection

Description

Perform multivariate outlier detection.

Usage

outl_det_m(x, method = "mcd", conf.level = 0.95)

Arguments

x

a data matrix.

method

methods for resistant estimation of multivariate location and scatter. Only mve, mcd and classical are supported.

conf.level

a confidential level.

Value

a logical vector.

See Also

cov.rob() for "Resistant Estimation of Multivariate Location and Scatter"

Other outlier detectors: outl_det_u()

Examples

 
set.seed(134)
x <- cbind(rnorm(80), rnorm(80), rnorm(80))
y <- cbind(rnorm(10, 5, 1), rnorm(10, 5, 1), rnorm(10, 5, 1))
x <- rbind(x, y)
outl <- outl_det_m(x, method = "mcd", conf.level = 0.95)

wanchanglin/mtExtra documentation built on Aug. 2, 2024, 5:47 p.m.