plot.pca: Plot method for 'pca' objects

Description Usage Arguments

View source: R/plotPCA.R

Description

Custom function to plot pca objects from ade4 package

Usage

1
2
3
4
## S3 method for class 'pca'
plot(pca, axes = c(1, 2), xlim = c(-1.2, 1.2),
  ylim = c(-1.2, 1.2), ind = FALSE, cex.p = 1, cex.v = 0.8,
  las = 1, var.labels = NULL, var.pos = NULL, ...)

Arguments

pca

a pca object from the dudi.pca function in ade4

axes

a length 2 vector specifying the components to plot

xlim, ylim

numeric vectors of length 2, giving the x and y coordinates ranges

ind

logical value to project individuals in the correlation circle using standardized axes

cex.p

individuals points size if ind is TRUE

cex.v

variable name size

las

text orientation on axes

var.labels

character string or mathplot code used for variable names

var.pos

variable name position in 1, 2, 3, 4 using a named vector

...

extra parameters to custom points in ind is TRUE


Rekyt/divr documentation built on April 1, 2020, 5:35 a.m.