check_base_inputs_auto_stratify: Check inputs from auto_stratify

View source: R/auto_stratify.R

check_base_inputs_auto_stratifyR Documentation

Check inputs from auto_stratify

Description

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

Usage

check_base_inputs_auto_stratify(data, treat, outcome)

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 April 1, 2022, 9:48 p.m.