plot.PCA | R Documentation |
Plot the results of a principal components analysis as a biplot
## S3 method for class 'PCA'
plot(
x,
labelcol = "black",
vectorcol = "red",
choices = 1L:2L,
scale = 1,
pc.biplot = FALSE,
...
)
x |
an object of class |
labelcol |
colour(s) of the sample labels (may be a vector). |
vectorcol |
colour of the vector loadings for the variables |
choices |
see the help pages of the generic |
scale |
see the help pages of the generic |
pc.biplot |
see the help pages of the generic |
... |
optional arguments of the generic |
PCA
data(Namib)
plot(PCA(Namib$Major))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.