survival_outcome {bayesCT} | R Documentation |
Piecewise constant hazard rates and the cutpoint for control and treatment group
Description
Wrapper function for the piecewise constant hazard rates and the cutpoint for control and treatment group.
Usage
survival_outcome(
hazard_treatment = NULL,
cutpoint = NULL,
hazard_control = NULL,
.data = NULL
)
Arguments
hazard_treatment |
vector. Constant hazard rates under the treatment arm. |
cutpoint |
vector. The change-point vector indicating time when the hazard rates change. |
hazard_control |
vector. Constant hazard rates under the control arm. |
.data |
NULL. stores the hazard rates and cutpoint, please do not fill it in. |
Value
a list with hazard rates and cutpoint for control and treatment group.
Examples
survival_outcome(hazard_treatment = 0.06,
hazard_control = 0.08,
cutpoint = NULL )
[Package bayesCT version 0.99.3 Index]