View source: R/plot_metric_boot.R
plot_metric_boot | R Documentation |
Given a cutpointr
object this function plots the bootstrapped metric distribution,
i.e. the distribution of out-of-bag metric values.
The metric depends on the function that was supplied to metric
in the
call to cutpointr
.
The cutpointr
function has to be run with boot_runs
' > 0 to enable bootstrapping.
plot_metric_boot(x, ...)
x |
A cutpointr object. |
... |
Additional arguments (unused) |
Other cutpointr plotting functions:
plot.cutpointr()
,
plot_cut_boot()
,
plot_cutpointr()
,
plot_metric()
,
plot_precision_recall()
,
plot_roc()
,
plot_sensitivity_specificity()
,
plot_x()
set.seed(300) opt_cut <- cutpointr(suicide, dsi, suicide, boot_runs = 10) plot_metric_boot(opt_cut)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.