The two-by-two table of create_icd11_diagnosis against the full DSM-5-TR
PCL-5 diagnosis, in the same shape evaluate_sets returns, so the ICD-11
comparator can be bound to a table of derived combinations.
Examples
# \donttest{
data(simulated_ptsd_genpop)
prepared <- rename_ptsd_columns(
simulated_ptsd_genpop[, c("patient_id", paste0("S", 1:20))],
id_col = "patient_id")
icd11_performance(prepared)
#> set_id tp fn fp tn
#> 1 2_3_6_7_17_18 214 38 45 903
# }
