check_base_inputs_auto_stratify: Check inputs from auto_stratify

Description Usage Arguments Value

View source: R/auto_stratify.R

Description

Not meant to be called externally. Throws errors if basic auto_stratify inputs are incorrect.

Usage

1

Arguments

data

data.frame with observations as rows, features as columns

treat

string giving the name of column designating treatment assignment

outcome

string giving the name of column with outcome information. Required if prognostic_scores is specified. Otherwise it will be inferred from prog_formula

Value

nothing; produces errors and warnings if anything is wrong


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