View source: R/survival_eval.R
compute_surv | R Documentation |
Generate either survival probabilities or conditional probabilities of event for each model cycle.
compute_surv(x, time, cycle_length = 1, type = c("prob", "survival"), ...)
x |
A survival object |
time |
The |
cycle_length |
The value of a Markov cycle in absolute time units. |
type |
Either |
... |
arguments passed to methods. |
The results of compute_surv()
are memoised for
options("heemod.memotime")
(default: 1 hour) to
increase resampling performance.
Returns either the survival probabilities or conditional probabilities of event for each cycle.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.