robCompositions (version 2.1.0)

orthbasis: Orthonormal basis

Description

Orthonormal basis from cenLR transformed data to pivotCoord transformated data.

Usage

orthbasis(D)

Arguments

D

number of parts (variables)

Value

the orthonormal basis.

Details

For the chosen balances for “pivotCoord”, this is the orthonormal basis that transfers the data from centered logratio to isometric logratio.

See Also

pivotCoord, cenLR

Examples

Run this code
# 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