check_outcome: Check Outcome

View source: R/auto_stratify.R

check_outcomeR Documentation

Check Outcome

Description

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

Usage

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


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