Learn R Programming

robCompositions (version 1.9.1)

orthbasis: Orthonormal basis

Description

Orthonormal basis from cenLR transformed data to isomLR transformated data.

Usage

orthbasis(D)

Arguments

D
number of parts (variables)

Value

  • the orthonormal basis.

Details

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

See Also

isomLR, cenLR

Examples

Run this code
data(expenditures)
V <- orthbasis(ncol(expenditures))
xcen <- cenLR(expenditures)$x.clr
xi <- as.matrix(xcen)xi2 <- isomLR(expenditures)
all.equal(xi, xi2)

Run the code above in your browser using DataLab