Description Usage Arguments Value Examples
Information about the Squared Prediction Error (SPE) of an observation. Two subplots show the information of an observation regarding its SPE statistic, i.e.: a bar plot indicating the value of the statistic for the observation, and a bar plot with the contribution that each variable had for the SPE value
1 |
SPE |
Vector with values of the SPE statistic. |
E |
Matrix with the contributions of each variable (columns) for each observation (rows) to the SPE. It is the error term obtained from the unexplained part of X by the PCA model. |
limspe |
Upper Control Limit (UCL) for the SPE, at a certain confidence level (1-alpha)*100 %. |
iobs |
Integer with the index of the observation of interest. Default value set to
|
ggplot object with the generated bar plots.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.