.surv_return | R Documentation |
Internal helper function to easily return the correct survival predict types and to automatically coerce a predicted survival probability matrix to a distr6::Matdist.
.surv_return( times = NULL, surv = NULL, crank = NULL, lp = NULL, response = NULL )
times |
( |
surv |
( |
crank |
( |
lp |
( |
response |
( |
Uses survivalmodels::surv_to_risk to reduce survival matrices to relative
risks / rankings if crank
is NULL.
Sonabend, R., Bender, A., & Vollmer, S. (2021). Evaluation of survival distribution predictions with discrimination measures. http://arxiv.org/abs/2112.04828.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.