check_scores function

Check Scores

Check Scores

Checks that prognostic scores are the same length as data

check_scores(prognostic_scores, data, outcome)

Arguments

  • prognostic_scores,: a numeric vector
  • data: data.frame with observations as rows, features as columns
  • 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

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