update_time_stageshift: For stage-shifted cases in an early detection scenario,...

Description Usage Arguments

View source: R/outcomes.R

Description

Takes treatments from a paired scenario with no early detection and updates times to cancer death only for those advanced-stage cases who were stage-shifted in the early detection scenario. Updated times are quantile- correlated to the previous times

Usage

1
update_time_stageshift(policies, shifts, rates, times)

Arguments

policies

Data frame specifying policies - see ex1$pol. If 'pairnum' = NA, no treatments are updated. If 'pairnum' is numeric, treatments from that number scenario will be the starting point, with early-detected cases shifted according to the next input

shifts

List of treatment-shift indicators (see shifttreatment_indicator)

rates

Matrix of treatment-specific rates, size popsize by nsim

rates

Matrix of times to cancer death under no stage-shifts, size popsize by nsim


cancerpolicy/bcimodel documentation built on June 15, 2018, 12:31 a.m.