Description Usage Arguments Value Author(s) Examples
View source: R/balance.compute.R
Compute Balances from an SBP Matrix
1 | balance.fromSBP(x, y)
|
x |
A matrix with rows as samples (N) and columns as components (D). |
y |
A serial binary partition matrix with rows as components (D) and columns as balances (D-1). |
A transformation of samples for each balance in the SBP matrix.
Thom Quinn
1 2 3 4 5 | library(balance)
data(iris)
x <- iris[,1:4]
sbp <- sbp.fromPBA(x)
balance.fromSBP(x, sbp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.