Description Usage Arguments Details Value Author(s) See Also Examples
Function lrpca
performs logratio principal component analysis. It returns the variance decomposition, principal components, biplot coordinates and a table with condition indices.
1 | 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)
1 2 3 4 | data(bentonites)
Ben <- bentonites[,1:8]
Ben.com <- Ben/rowSums(Ben)
out.lrpca <- lrpca(Ben.com)
|
Loading required package: MASS
Loading required package: calibrate
Loading required package: robCompositions
Loading required package: ggplot2
Loading required package: pls
Attaching package: ‘pls’
The following object is masked from ‘package:stats’:
loadings
Loading required package: data.table
Registered S3 method overwritten by 'GGally':
method from
+.gg ggplot2
sROC 0.1-2 loaded
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.