Description Usage Arguments Details Value Examples
Returns the distance plot providing a dataset and a Principal Component Analysis model.
1 2 3 4 5 6 |
X |
data matrix with observations to be displayed in the distance plot. |
pcaref |
list with the information of the PCA model. |
obstag |
Optional column vector of integers indicating the group of each
observation ( |
plottitle |
Optional string with the plot title. Set to |
Coordinates are expressed in terms of the Hotelling's T^2 (x-axis) and the Squared Prediction Error (y-axis) obtained projecting X on the provided model. Observations can be identified by the obstag input argument.
ggplot object with the distance plot.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.