plot.PCA: Compositional biplot

View source: R/plot.R

plot.PCAR Documentation

Compositional biplot

Description

Plot the results of a principal components analysis as a biplot

Usage

## S3 method for class '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

See Also

PCA

Examples

data(Namib)
plot(PCA(Namib$Major))

provenance documentation built on Aug. 28, 2023, 5:07 p.m.