Description Usage Arguments Value Examples
Wrapper function for the piecewise constant hazard rates and the cutpoint for control and treatment group.
1 2 3 4 5 6  | survival_outcome(
  hazard_treatment = NULL,
  cutpoint = NULL,
  hazard_control = NULL,
  .data = NULL
)
 | 
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. Should not be edited by the user.  | 
A list with hazard rates and cutpoint for control and treatment group.
1 2 3  | survival_outcome(hazard_treatment = 0.06,
                           hazard_control   = 0.08,
                           cutpoint         = NULL)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.