Learn R Programming

robCompositions (version 1.9.1)

plot.outCoDa: plot method for outCoDa objects

Description

Plots the Mahalanobis distance.

Usage

## S3 method for class 'outCoDa':
plot(x, y, ...)

Arguments

x
object from class outCoDa
y
...
...
...

Details

The dashed line indicates the (1 - alpha) quantile of the Chi-squared distribution. Observations with Mahalanobis distance greater than this quantile could be considered as compositional outliers.

References

Filzmoser, P., and Hron, K. (2008) Outlier detection for compositional data using robust methods. Math. Geosciences, 40 233-248.

See Also

outCoDa

Examples

Run this code
data(expenditures)
oD <- outCoDa(expenditures)
oD
plot(oD)

Run the code above in your browser using DataLab