Learn R Programming

amap (version 0.3)

acp: Principal component analysis

Description

Principal component analysis / Analyse en composantes principales

Usage

acp(x,center=TRUE,reduce=TRUE)
pca(x,center=TRUE,reduce=TRUE)
print.acp(x, ...)

Arguments

Value

An object of class acp The object is a list with components:sdevthe standard deviations of the principal components.loadingsthe matrix of variable loadings (i.e., a matrix whose columns contain the eigenvectors). This is of class "loadings": see loadings for its print method.scoresif scores = TRUE, the scores of the supplied data on the principal components.eigEigen values

References

A. Carlier Analyse des donn�es Multidimensionnelles http://www.lsp.ups-tlse.fr/Carlier/enseignement.html

See Also

plot.acp,acpgen, princomp

Examples

Run this code
data(lubisch)
lubisch <- lubisch[,-c(1,8)]
p <- acp(lubisch)
plot(p)

Run the code above in your browser using DataLab