Builds a wide table of Precision, Sensitivity, Specificity, AUC, Brier, and Average Precision for specified KFRE variants at 2 and 5 years.
eval_kfre_metrics(df, n_var_list, outcome_years = 2, decimal_places = 6)
Data frame of metrics with one column per model-horizon.
Data frame with truth and probability columns.
Integer vector of models to evaluate, any of 4, 6, 8.
Integer vector of horizons, any of 2, 5.
Integer digits to round displayed values.