| loss_integrate {survex} | R Documentation | 
Calculate integrated metrics based on time-dependent metrics.
Description
This function allows for creating a function for calculation of integrated metrics based on a time dependent metric. A possibility to cut off the data at certain quantiles is implemented, as well as weighting the integrated metric by max time and marginal survival function [1]
Usage
loss_integrate(loss_function, ..., normalization = NULL, max_quantile = 1)
Arguments
loss_function | 
  | 
... | 
  | 
normalization | 
  | 
max_quantile | 
  | 
Value
a function that can be used to calculate metrics (with parameters y_true, risk, surv, and times)
References
[1] Graf, Erika, et al. "Assessment and comparison of prognostic classification schemes for survival data." Statistics in Medicine 18.17‐18 (1999): 2529-2545.