sbp.subset: Subset SBP Matrix

Description Usage Arguments Value Author(s) Examples

View source: R/sbp.R

Description

Subset SBP Matrix

Usage

1
sbp.subset(sbp, ternary = TRUE, ratios = TRUE)

Arguments

sbp

An SBP matrix.

ternary

A boolean. Toggles whether to return balances representing three components.

ratios

A boolean. Toggles whether to return balances representing two components.

Value

An SBP matrix.

Author(s)

Thom Quinn

Examples

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

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