powered by
Wrapper function for the piecewise constant hazard rates and the cutpoint for control and treatment group.
survival_outcome( hazard_treatment = NULL, cutpoint = NULL, hazard_control = NULL, .data = NULL )
vector. Constant hazard rates under the treatment arm.
vector. The change-point vector indicating time when the hazard rates change.
vector. Constant hazard rates under the control arm.
NULL. stores the hazard rates and cutpoint, please do not fill it in.
a list with hazard rates and cutpoint for control and treatment group.
# NOT RUN { survival_outcome(hazard_treatment = 0.06, hazard_control = 0.08, cutpoint = NULL ) # }
Run the code above in your browser using DataLab