orthbasis: Orthonormal basis

View source: R/orthbasis.R

orthbasisR Documentation

Orthonormal basis

Description

Orthonormal basis from cenLR transformed data to pivotCoord transformated data.

Usage

orthbasis(D)

Arguments

D

number of parts (variables)

Details

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

Value

the orthonormal basis.

Author(s)

Karel Hron, Matthias Templ. Some code lines of this function are a copy from function gsi.buildilr from

See Also

pivotCoord, cenLR

Examples


data(expenditures)
V <- orthbasis(ncol(expenditures))
xcen <- cenLR(expenditures)$x.clr
xi <- as.matrix(xcen) %*% V$V
xi
xi2 <- pivotCoord(expenditures)
xi2

robCompositions documentation built on Aug. 25, 2023, 5:13 p.m.