Learn R Programming

RItools (version 0.3-3)

subset.xbal: Select variables, strata, and statistics from a xbal or balancetest object

Description

If any of the arguments are not specified, all the of relevant items are included.

Usage

# S3 method for xbal
subset(x, vars = NULL, strata = NULL, stats = NULL, tests = NULL, ...)

Value

A xbal object with just the appropriate items selected.

Arguments

x

The xbal object, the result of a call to xBalance or balanceTest

vars

The variable names to select.

strata

The strata names to select.

stats

The names of the variable level statistics to select.

tests

The names of the group level tests to select.

...

Other arguments (ignored)