plot_metric: Plot a metric over all possible cutoffs from a cutpointr object
Description
If maximize_metric is used as method function in cutpointr the computed
metric values over all possible cutoffs can be plotted. Generally, this
works for method functions that return a ROC-curve including the metric
value for every cutpoint along with the optimal cutpoint.
Usage
plot_metric(x, conf_lvl = 0.95)
Arguments
x
A cutpointr object.
conf_lvl
The confidence level of the bootstrap confidence interval.
Set to 0 to draw no bootstrap confidence interval.