powered by
Orthonormal basis from cenLR transformed data to pivotCoord transformated data.
orthbasis(D)
the orthonormal basis.
number of parts (variables)
Karel Hron, Matthias Templ. Some code lines of this function are a copy from function gsi.buildilr from
For the chosen balances for “pivotCoord”, this is the orthonormal basis that transfers the data from centered logratio to isometric logratio.
pivotCoord, cenLR
pivotCoord
cenLR
data(expenditures) V <- orthbasis(ncol(expenditures)) xcen <- cenLR(expenditures)$x.clr xi <- as.matrix(xcen) %*% V$V xi xi2 <- pivotCoord(expenditures) xi2
Run the code above in your browser using DataLab