Description Usage Arguments Examples
View source: R/R/pcplot.R View source: R/pcplot.R
Takes a data set and plots principal components against each other with ggplot.
1 2 |
data |
A set of predictor values |
xpc |
Principal component to plot along the x-axis |
ypc |
Principal compenent to plot along y-axis |
cor |
Indicates to use correlation for PCA. Defaults to TRUE |
control |
Indicates if user wants to customize ggplot rather than the default setting. Defaults to FALSE. |
group |
A vector indicating which group the observation belongs to. Defaults to NA. |
labelled |
Indicates whether or not to label the observations. Defaults to FALSE. |
biplot |
Allows user to plot vectors of loadings of each variable |
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.