powered by
Given a cutpointr object this function plots the sensitivity and specificity curve(s) per subgroup, if the latter is given.
cutpointr
plot_sensitivity_specificity(x, display_cutpoint = TRUE, ...)
A cutpointr object.
(logical) Whether or not to display the optimal cutpoint as a dot on the precision recall curve.
Additional arguments (unused).
Other cutpointr plotting functions: plot.cutpointr, plot_cut_boot, plot_cutpointr, plot_metric_boot, plot_metric, plot_precision_recall, plot_roc, plot_x
plot.cutpointr
plot_cut_boot
plot_cutpointr
plot_metric_boot
plot_metric
plot_precision_recall
plot_roc
plot_x
# NOT RUN { library(cutpointr) ## Optimal cutpoint for dsi data(suicide) opt_cut <- cutpointr(suicide, dsi, suicide) plot_sensitivity_specificity(opt_cut) # }
Run the code above in your browser using DataLab