plot.acp {amap} | R Documentation |
Graphics for Principal component Analysis
plot.acp(x,i=1,j=2,text=TRUE,label='Composants',col='darkblue', main='Individuals PCA',...) biplot.acp(x,i=1,j=2,label='Composants',col='darkblue',length=0.1, main='Variables PCA',...) plot2.acp(x,pourcent=FALSE,eigen=TRUE,label='Comp.',col='lightgrey', main='Scree Graph',ylab='Eigen Values')
x |
Result of acp or princomp |
i |
X axis |
j |
Y axis |
text |
a logical value indicating whether we use text or points for plot |
pourcent |
a logical value indicating whether we use pourcentage of values |
eigen |
a logical value indicating whether we use eigen values or standard deviation |
label |
label for X and Y axis |
col |
Color of plot |
main |
Title of graphic |
ylab |
Y label |
length |
length of arrows |
... |
cex, pch, and other options; see points. |
Graphics:
plot.acp
PCA for lines (individuals)
plot.acp
PCA for columns (variables)
plot2.acp
Eigen values diagram (Scree Graph)
Antoine Lucas, http://mulcyber.toulouse.inra.fr/projects/amap/
data(lubisch) lubisch <- lubisch[,-c(1,8)] p <- acp(lubisch) plot(p)