sbp.fromABA: Build SBP Matrix of "Anti-Principal Balances"

Description Usage Arguments Value Author(s) Examples

View source: R/sbp.R

Description

This function builds an SBP of "anti-principal balances" by clustering the difference of the log-ratio variance from the maximum log-ratio variance. Unlike principal balances, where the first balances explain the most variance, this function selects "anti-principal balances" so that the last balances explain relatively more variance.

Usage

1
sbp.fromABA(x, alpha = NA)

Arguments

x

A matrix with rows as samples (N) and columns as components (D).

alpha

A double. Defines a hyper-parameter used by the Box-Cox transformation to approximate log-ratio variance in the presence of zeros. Skip with NA.

Value

An SBP matrix.

Author(s)

Thom Quinn

Examples

1
2
3
4

balance documentation built on July 10, 2019, 9:03 a.m.