Description Usage Arguments Value Examples
Calibration plots for cbenefit objects
1 | calibration_plot(x, limits)
|
x |
A cbenefit object |
limits |
Optional: a vector of length two with y axis limits |
A list with two ggplot2 objects
1 2 3 4 | m1 <- model_fit(Surv(time, status) ~ treat + x1 + x2 + x3 + x4 + x5 + x6 + x7 + x8,
dat_toy, model = "coxph")
bf <- benefit_cv(m1, "treat", folds = 5, times = 3)
calibration_plot(bf)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.