make_issue_table: Make Issue Table

Description Usage Arguments Value

View source: R/make_issue_table.R

Description

Not meant to be called externally. Produce table of the number of treated and control individuals in each stratum. Also checks for potential problems with treat/control ratio or stratum size which might result in slow or poor quality matching.

Usage

1
make_issue_table(a_set, treat)

Arguments

a_set

data.frame with observations as rows, features as columns. This should be the analysis set from the recently stratified data.

treat

string name of treatment column

Value

Returns a 3 by [number of strata] dataframe with Treat, Control, Total, Control Proportion, and Potential Issues


raikens1/stratamatch documentation built on Aug. 6, 2020, 7:29 a.m.