bal.table: Compute the balance table.

Description Usage Arguments Value See Also Examples

View source: R/bal.table.R

Description

'bal.table' is a generic function for extracting balance tables from 'ps.cont' objects, one for an unweighted analysis and one for the weighted analysis.

Usage

1
bal.table(x, digits = 3, ...)

Arguments

x

A 'ps.cont' object

digits

Number of digits to round to. Default: 3

...

Additional arguments.

Value

Returns a data frame containing the balance information. * 'unw' The unweighted correlation between the exposure and each covariate. * 'wcor' The weighted correlation between the exposure and each covariate.

See Also

[ps.cont]

Examples

1
  ## Not run: bal.table(test.mod)

twangContinuous documentation built on Feb. 26, 2021, 5:09 p.m.