HR_delay_switch: Calculates the hazard ratio for switching treatment at a...

Description Usage Arguments Value

View source: R/hr_fun.R

Description

HR_delay_switch Hazard ratio function for switching treatment at a delay time

Usage

1
HR_delay_switch(lambda_c_1, lambda_c_2, lambda_e, delay, p)

Arguments

lambda_c_1

Hazard rate in control group before switching

lambda_c_2

Hazard rate in control group after switching

lambda_e

Hazard rate in experimental group

delay

Time where treatment changes

p

Proportion of (alive) patients that switches treatment at time delay

Value

Survival and hazard ratio function


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