Description Usage Arguments Details
Plots fraction of explained variance for PCA components and some additonal explanatory variables
1 2 |
pca |
prcomp object |
df |
data frame containing predictors |
selvars |
names of the columns from data frame to choose as predictors |
comps |
for which PCA components (or for which columns of the numeric matrix) the correlations should be plotted |
scaled |
whether the data should be scaled |
col |
colors to use for the different predictors |
... |
additional parameters to be passed to plotting functions such as pch or lty |
Plots fraction of explained variance for PCA components and some additonal explanatory variables
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.