Description Usage Arguments Details Author(s) References Examples
Make diagnostic plot using the output from robpca
or rospca
.
1 |
res |
A list containing the orthogonal distances ( |
title |
Title of the plot, default is |
col |
Colour of the points in the plot, this can be a single colour for all points or a vector specifying the colour for each point. The default is |
pch |
Plotting characters or symbol used in the plot, see points for more details. The default is 16 which corresponds to filled circles. |
labelOut |
Logical indicating if outliers should be labelled on the plot, default is |
id |
Number of OD outliers and number of SD outliers to label on the plot, default is 3. |
The diagnostic plot contains the score distances on the x-axis and the orthogonal distances on the y-axis. To detect outliers, cut-offs for both distances are added, see Hubert et al. (2005).
Tom Reynkens, based on R code from Valentin Todorov for the diagnostic plot in rrcov (released under GPL-3).
Hubert, M., Rousseeuw, P. J., and Vanden Branden, K. (2005), “ROBPCA: A New Approach to Robust Principal Component Analysis,” Technometrics, 47, 64–79.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.