Generate either survival probabilities or conditional probabilities of event for each model cycle.
compute_surv(x, time, cycle_length = 1, type = c("prob", "survival"), ...)Returns either the survival probabilities or conditional probabilities of event for each cycle.
A survival object
The model_time or state_time for which
to predict.
The value of a Markov cycle in absolute time units.
Either prob, for transition probabilities,
or surv, for survival.
arguments passed to methods.
The results of compute_surv() are memoised for
options("heemod.memotime") (default: 1 hour) to
increase resampling performance.