check_base_inputs_auto_stratify function

Check inputs from auto_stratify

Check inputs from auto_stratify

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

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

Returns

nothing; produces errors and warnings if anything is wrong

  • Maintainer: Rachael C. Aikens
  • License: GPL-3
  • Last published: 2022-03-31