Learn R Programming

E2E (version 0.1.2)

evaluate_predictions_pro: Evaluate External Predictions

Description

Calculates performance metrics for external prediction sets.

Usage

evaluate_predictions_pro(prediction_df, years_to_evaluate = c(1, 3, 5))

Value

List of evaluation metrics.

Arguments

prediction_df

Data frame with columns time, outcome, score, ID.

years_to_evaluate

Years for AUC.