conversion_table: AutoScore function: Print conversion table based on final...

View source: R/AutoScore.R

conversion_tableR Documentation

AutoScore function: Print conversion table based on final performance evaluation

Description

Print conversion table based on final performance evaluation

Usage

conversion_table(
  pred_score,
  by = "risk",
  values = c(0.01, 0.05, 0.1, 0.2, 0.5)
)

Arguments

pred_score

a vector with outcomes and final scores generated from AutoScore_testing

by

specify correct method for categorizing the threshold: by "risk" or "score".Default to "risk"

values

A vector of threshold for analyze sensitivity, specificity and other metrics. Default to "c(0.01,0.05,0.1,0.2,0.5)"

Value

No return value and the conversion will be printed out directly.

See Also

AutoScore_testing


AutoScore documentation built on Oct. 16, 2022, 1:06 a.m.