check_outcome: Check Outcome

Description Usage Arguments Value

View source: R/auto_stratify.R

Description

Checks that outcome is a string which is a column in the data

Usage

1
check_outcome(outcome, data, treat)

Arguments

outcome

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

data

data.frame with observations as rows, features as columns

treat

string giving the name of column designating treatment assignment

Value

nothing


raikens1/stratamatch documentation built on May 27, 2021, 10:13 p.m.