Learn R Programming

balance (version 0.2.4)

bplot-class: A pba model S4 class

Description

A pba model S4 class

Usage

# S4 method for bplot
show(object)

# S4 method for bplot [[(x, i)

Arguments

object, x

A bplot object.

i

An integer. Used to index the bplot object.

Methods (by generic)

  • show: Method to show bplot object.

  • [[: Method to subset bplot object.

Slots

balance.partition

A ggplot object. The "partition" sub-plot.

balance.distribution

A ggplot object. The "distribution" sub-plot.

balances

The results of balance.fromSBP.

Examples

Run this code
# NOT RUN {
library(balance)
data(iris)
x <- iris[,1:4]
sbp <- sbp.fromPBA(x)
balance(x, sbp)

# }

Run the code above in your browser using DataLab