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

View source: R/utils.R

subset.xbalR Documentation

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 class 'xbal'
subset(x, vars = NULL, strata = NULL, stats = NULL, tests = NULL, ...)

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)

Value

A xbal object with just the appropriate items selected.


RItools documentation built on June 22, 2024, 9:06 a.m.