Description Usage Arguments Value Examples
Returns the score plot providing a dataset and a pca model. Observations can be identified by the obstag input argument.
1 2 3 4 5 6 7 8 9 |
X |
Matrix with the data to be displayed. |
pcamodel |
List wiht the PCA model elements. |
obstag |
Optional column vector of integers indicating the group of each
observation ( |
pcx |
Optional integer with the number of the PC in the horizontal axis. Set to |
pcy |
Optional integer with the number of the PC in the vertical axis. Set to |
alpha |
Optional number between 0 and 1 expressing the type I risk assumed in the compuatation of the confidence ellipse,
set to |
plottitle |
Optional string with the plot title. Set to |
ggplot object with the generated score plot.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.