create_stageshift_map: Creates a "map" of how the stage shift will be applied

Description Usage Arguments Value Examples

Description

Follows the principle that when an advanced cases is shifted to early stage via early detection, the subgroup (e.g., tumor type) remains constant.

Usage

1

Arguments

x

Data frame of class naturalhist (see compile_naturalhist)

Value

Matrix that maps which rows of the naturalhist data frame correspond to Early vs Advanced stages

Examples

1
2
3
nh <- compile_naturalhist(prop_adv=0.85, mortrates=c(Early=0.05, Advanced=0.21), 
                   subgroup_probs=c(`ER+`=0.5, `ER-`=0.5))
create_stageshift_map(nh)

cancerpolicy/bcimodel documentation built on June 30, 2019, 12:39 a.m.