make_issue_table: Make Issue Table

View source: R/make_issue_table.R

make_issue_tableR Documentation

Make Issue Table

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

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


stratamatch documentation built on March 31, 2022, 9:07 a.m.