numerical_prog_switch_exp: Creates numerically estimated survival and hazard ratio...

Description Usage Arguments Value

View source: R/hr_fun.R

Description

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

Usage

1
2
numerical_prog_switch_exp(lambda_c, lambda_e, lambda_p, p, max_t = 100,
  delta_t = 0.01)

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

max_t

maximum time in time interval

delta_t

size of time intervals in numerical approximations

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.