lrpca | R Documentation |
Function lrpca
performs logratio principal component analysis. It returns the variance decomposition, principal components, biplot coordinates and a table with condition indices.
lrpca(Xcom)
Xcom |
A matrix with compositions in its rows |
Calculations are based on the singular value decompositon of the clr transformed compositions.
Fp |
matrix with principal components |
Fs |
matrix with standardized principal components |
Gp |
biplot markers for parts (principal coordinates) |
Gs |
biplot markers for parts (standard coordinates) |
La |
eigenvalues |
D |
singular values |
decom |
table with variance decomposition |
kappalist |
table with condition indices and eigenvectors |
Jan Graffelman (jan.graffelman@upc.edu)
princomp
data(bentonites)
Ben <- bentonites[,1:8]
Ben.com <- Ben/rowSums(Ben)
out.lrpca <- lrpca(Ben.com)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.