exp_prog_switch_fun: Creates survival and hazard ratio function for treatment...

Description Usage Arguments Value

View source: R/hr_fun.R

Description

exp_prog_switch_fun numerically estimates the survival and HR functions in a treatment switching model with exponentially distributions

Usage

1
exp_prog_switch_fun(lambda_c, lambda_e, lambda_p, p)

Arguments

lambda_c

rate for control group

lambda_e

rate for experimental group

lambda_p

rate for progression in control group

p

proportion of patients that switches after progression

Value

a list containing functions for the survival curve and HR and hazard for control and proportion of switchers


borealexander/tslrt documentation built on March 26, 2020, 4:11 p.m.