View source: R/add-functions.R
| get_sim_ci | R Documentation |
These helpers draw the simulated hazard trajectories once for the whole
(possibly grouped) newdata via sim_hazard – so one set
of draws is shared across groups – and then summarise them into pointwise
quantile intervals. Cumulative quantities are accumulated within each group
of newdata.
get_sim_ci(newdata, object, alpha = 0.05, nsim = 100L, ...)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.