Description Usage Arguments Details Author(s) References See Also Examples

Creates a diagnostic plot of the robust SD and OD values from a FastHCS model fit, and their parametric cutoffs.

1 2 |

`x` |
For the |

`col` |
A specification for the default plotting color. Vectors of values are recycled. |

`pch` |
Either an integer specifying a symbol, or a single character to be used as the default in plotting points. Note that only integers and single-character strings can be set as graphics parameters. Vectors of values are recycled. |

`...` |
Further arguments passed to the plot function. |

This function produces the PCA diagnostic plot of Hubert et al. (2005). Score distances are the n-vector of distances of each observation to the robust estimate of location on the robust PCA subspace. Likewise, orthogonal distances are the n-vector of distances of each observations to the robust PCA subspace. The observations whose score distance is larger than cutoff.sd or whose orthogonal distance is larger than cutoff.od are considered outliers and receive a flag equal to zero. The orthogonal distances are displayed along the vertical axis and the score distances along the horizontal axis, with the dotted lines indicating their respective cut-offs.

Kaveh Vakili

M. Hubert, P. J. Rousseeuw, K. Vanden Branden (2005), ROBPCA: a new
approach to robust principal components analysis, *Technometrics*, **47**, 64–79.

1 2 3 4 5 6 7 8 9 10 11 12 |

```
Loading required package: matrixStats
Loading required package: robustbase
Attaching package: 'robustbase'
The following objects are masked from 'package:matrixStats':
colMedians, rowMedians
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.