compute_surv: Evaluate Survival Distributions

Description Usage Arguments Details Value

Description

Generate either survival probabilities or conditional probabilities of event for each model cycle.

Usage

1
compute_surv(x, time, cycle_length = 1, type = c("prob", "survival"), ...)

Arguments

x

A survival distribution object

time

The model_time or state_time for which to predict.

cycle_length

The value of a Markov cycle in absolute time units.

type

Either prob, for transition probabilities, or surv, for survival.

...

arguments passed to methods.

Details

The results of compute_surv() are memoised for options("heemod.memotime") (default: 1 hour) to increase resampling performance.

Value

Returns either the survival probalities or conditional probabilities of event for each cycle.


pierucci/heemod documentation built on July 15, 2018, 12:44 p.m.