plot.PCA: Compositional biplot
Description
Plot the results of a principal components analysis as a biplot
Usage
# S3 method for PCA
plot(
x,
labelcol = "black",
vectorcol = "red",
choices = 1L:2L,
scale = 1,
pc.biplot = FALSE,
...
)
Arguments
- x
an object of class PCA
- 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 biplot
function.
- scale
see the help pages of the generic biplot
function.
- pc.biplot
see the help pages of the generic biplot
function.
- ...
optional arguments of the generic biplot
function
Examples
Run this codedata(Namib)
plot(PCA(Namib$Major))
Run the code above in your browser using DataLab