Learn R Programming

stremr (version 0.4)

get_wtsummary: IP-Weights Summary Tables

Description

Produces various table summaries of IP-Weights.

Usage

get_wtsummary(wts_data, cutoffs = c(0, 0.5, 1, 10, 20, 30, 40, 50, 100, 150), varname = "Stabilized IPAW", by.rule = FALSE)

Arguments

wts_data
Either a list of data.table containing weights (one for each separate regimen/intervention) or a single data.table with weights for one regimen / intervention.
cutoffs
Weight cut off points for summary tables.
varname
Character string describing the type of the weights
by.rule
Can optionally evaluate the same summary tables separately for each regimen / rule.

Value

A list with various IP-weights summary tables.

See Also

getIPWeights for evaluation of IP-weights.