| plot_metric_boot {cutpointr} | R Documentation |
Plot the bootstrapped metric distribution from a cutpointr object
Description
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.
Usage
plot_metric_boot(x, ...)
Arguments
x |
A cutpointr object. |
... |
Additional arguments (unused) |
See Also
Other cutpointr plotting functions:
plot.cutpointr(),
plot_cut_boot(),
plot_cutpointr(),
plot_metric(),
plot_precision_recall(),
plot_roc(),
plot_sensitivity_specificity(),
plot_x()
Examples
set.seed(300)
opt_cut <- cutpointr(suicide, dsi, suicide, boot_runs = 10)
plot_metric_boot(opt_cut)
[Package cutpointr version 1.1.2 Index]