Description Usage Arguments Value
View source: R/survival_misc.R
Get survival quantiles from survival curves for each sample
1 2 | survival.quantiles(surv.percentile = 0.5, prediction, times,
max.surv.time = max(times))
|
surv.percentile |
A vector of survival probabilities. |
prediction |
A matrix of survival probilites, with row = sample, col = time |
times |
A vector of times of interest |
max.surv.time |
Usually maximum follow-up time |
A matrix of survival quantitles (times), with row = sample, col = surv.percentile
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.