powered by
Get a survival distribution reflecting the independent hazards from two or more survival distributions.
add_hazards(...)add_hazards_(dots)
add_hazards_(dots)
A surv_add_haz object.
surv_add_haz
Survival distributions to be used in the projection.
Used to work around non-standard evaluation.
dist1 <- define_surv_dist(distribution = "exp", rate = .125) dist2 <- define_surv_dist(distribution = "weibull", shape = 1.2, scale = 50) combined_dist <- add_hazards(dist1, dist2)
Run the code above in your browser using DataLab