powered by
plotPcs(object, pcs = 1:nP(object), type = c("scores", "loadings"), sl = NULL, hotelling = 0.95, ...)
pcaRes
numeric
character
pairs
prcomp
pca
princomp
slplot
data(iris) pcIr <- pca(iris[,1:4], nPcs=3, method="svd") plotPcs(pcIr, col=as.integer(iris[,4]) + 1)
Run the code above in your browser using DataLab