orthbasis: Orthonormal basis

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/orthbasis.R

Description

Orthonormal basis from cenLR transformed data to pivotCoord transformated data.

Usage

1

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

1
2
3
4
5
6
7
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 Jan. 13, 2021, 10:07 p.m.