join: Project Beyond a Survival Distribution with Another

View source: R/survival_operations.R

joinR Documentation

Project Beyond a Survival Distribution with Another

Description

Project survival from a survival distribution using one or more survival distributions using the specified cut points.

Usage

join(..., at)

project(...)

project_(...)

join_(dots, at)

Arguments

...

Survival distributions to be used in the projection.

at

A vector of times corresponding to the cut point(s) to be used.

dots

Used to work around non-standard evaluation.

Value

A surv_projection object.

Examples


dist1 <- define_survival(distribution = "exp", rate = .5)
dist2 <- define_survival(distribution = "gompertz", rate = .5, shape = 1)
join_dist <- join(dist1, dist2, at=20)

heemod documentation built on July 26, 2023, 5:45 p.m.