plot.PCA: The plot method for a PCA object.

Description Usage Arguments Examples

Description

plot.PCA plots all the points given their first and second components. Different points in different groups are given different colors and labels.

Usage

1
2
3
## S3 method for class 'PCA'
plot(x, mainPar = list(), graPar = list(), pcaPar = list(),
  ...)

Arguments

x

A PCA object.

mainPar

A list of parameters specifying the main title.

graPar

A list of global graphics parameters.

pcaPar

A list of parameters adjusting the PCA points.

...

ignored

Examples

1
2
3
4
data(GCwPADataA)
testset = samVec(GCwPADataA, selCol = list(1:5, 11:15, 21:25), labels = c("E", "R", "T"))
pca1 = PCA(testset)
plot(pca1, mainPar = list(labels = "Example", y = 1.55), pcaPar = list(cex = 1, font = 2))

ziyanyin/DEEE documentation built on May 4, 2019, 11:23 p.m.