balance.fromSBP: Compute Balances from an SBP Matrix

Description Usage Arguments Value Author(s) Examples

View source: R/balance.compute.R

Description

Compute Balances from an SBP Matrix

Usage

1

Arguments

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).

Value

A transformation of samples for each balance in the SBP matrix.

Author(s)

Thom Quinn

Examples

1
2
3
4
5
library(balance)
data(iris)
x <- iris[,1:4]
sbp <- sbp.fromPBA(x)
balance.fromSBP(x, sbp)

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