get_wtsummary: IP-Weights Summary Tables

Description Usage Arguments Value See Also

View source: R/helper_routines.R

Description

Produces various table summaries of IP-Weights.

Usage

1
2
3
4
5
6
7
get_wtsummary(
  wts_data,
  cutoffs = c(0, 0.5, 1, 10, 20, 30, 40, 50, 100, 150),
  varname = "Stabilized IPAW",
  by.rule = FALSE,
  stabilize = 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.

stabilize

Set to TRUE to return stabilized weights summary, otherwise unstabilized weights are used (default).

Value

A list with various IP-weights summary tables.

See Also

getIPWeights for evaluation of IP-weights.


osofr/stremr documentation built on Jan. 25, 2022, 8:07 a.m.