Skip to contents

Computes concordance index (c-index) and Brier scores at the specified landmark times and prediction windows.

Usage

performance_metrics(x, landmarks, windows, c_index = TRUE, brier = TRUE)

Arguments

x

An object of class Landmarking.

landmarks

A numeric vector of landmark times.

windows

A vector of prediction windows determining horizon times.

c_index

A logical. If TRUE (default), C index is reported.

brier

A logical. If TRUE (default), Brier score is reported.

Value

Data frame with performance metrics across the specified landmark times and prediction windows.