Makes the basic PCA plots on a given matrix. Scores and loadings scatterplots of PC1 vs PC2. Centers and UV-scales the variables, makes a 2 component PCA. Supports NAs but requires variance in all variables. Presents R2 for each component. Uses the package "mixOmics". Rownames/colnames are used as point labels.
a numeric matrix or data frame. Long, wide and squared matrix supported. NAs supported. Variance required for all variables.
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.