loss_integrate | R Documentation |
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]
loss_integrate(loss_function, ..., normalization = NULL, max_quantile = 1)
loss_function |
|
... |
|
normalization |
|
max_quantile |
|
a function that can be used to calculate metrics (with parameters y_true
, risk
, surv
, and times
)
[1] Graf, Erika, et al. "Assessment and comparison of prognostic classification schemes for survival data." Statistics in Medicine 18.17‐18 (1999): 2529-2545.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.