compute_surv: Evaluate Survival Distributions

View source: R/survival_eval.R

compute_survR Documentation

Evaluate Survival Distributions

Description

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

Usage

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

Arguments

x

A survival 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.

Value

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


heemod documentation built on June 16, 2025, 5:08 p.m.