Description Usage Arguments Value Examples
Returns information about the Hotelling's T^2 statistic for an observation. Two subplots show the information of an observation regarding its T^2 statistic, i.e.: a bar plot indicating the value of the statistic for the observation, and a bar plot with the contribution that each component had for the T^2 value. The term T^2_A makes reference to the T^2 for a model with A principal components (PCs).
1 |
HT2 |
A vector with values of the Hotelling's T^2_A statistic. |
T2matrix |
A matrix with the contributions of each PC (A columns) for each observation (rows) to the Hotelling's T^2_A statistic. |
limht2 |
Upper Control Limit for the Hotelling's T^2_A statistic, 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 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.