plot.PCA: Compositional biplot

Description Usage Arguments See Also Examples

View source: R/plot.R

Description

Plot the results of a principal components analysis as a biplot

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## 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

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

Example output



provenance documentation built on May 5, 2021, 1:06 a.m.