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

matthias-da/robCompositions documentation built on Jan. 15, 2024, 11:24 p.m.