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 distribution object |
---|---|
time | The |
cycle_length | The value of a Markov cycle in absolute time units. |
type | Either |
... | arguments passed to methods. |
Returns either the survival probalities or conditional probabilities of event for each cycle.
The results of compute_surv()
are memoised for
options("heemod.memotime")
(default: 1 hour) to
increase resampling performance.