powered by
Compute Balances from an SBP Matrix
balance.fromSBP(x, y)
A matrix with rows as samples (N) and columns as components (D).
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.
# NOT RUN { library(balance) data(iris) x <- iris[,1:4] sbp <- sbp.fromPBA(x) balance.fromSBP(x, sbp) # }
Run the code above in your browser using DataLab