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