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