Orthonormal basis from cenLR transformed data to pivotCoord transformated data.
orthbasis(D)
number of parts (variables)
the orthonormal basis.
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
# NOT RUN { 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