R/roc.R
get_k_roc.Rd
Function to calculate ratio of cases to non-cases in the sample for an ROC analysis
get_k_roc(p)
p | Prevalence or proportion of cases in the relevant population |
---|
Obuchowski NA. Fundamentals of clinical research for radiologists: ROC Analysis. American Journal of Roentgenology. 2005;184.
A numeric value of the ratio of cases to non-cases in the sample
get_k_roc(p = 0.5)#> [1] 1