View source: R/plot.cutpointr.R
| plot.cutpointr | R Documentation |
The plot layout depends on whether subgroups were defined and whether bootstrapping was run.
## S3 method for class 'cutpointr'
plot(x, ...)
x |
A cutpointr object. |
... |
Further arguments. |
The ... argument can be used to apply ggplot2 functions to every individual
plot, for example for changing the theme.
Other cutpointr plotting functions:
plot_cut_boot(),
plot_cutpointr(),
plot_metric(),
plot_metric_boot(),
plot_precision_recall(),
plot_roc(),
plot_sensitivity_specificity(),
plot_x()
opt_cut <- cutpointr(suicide, dsi, suicide, gender)
plot(opt_cut)
plot(opt_cut, ggplot2::theme_bw())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.