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.
A matrix with rows as samples (N) and columns as components (D).
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.
An SBP matrix.
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.