plot_x | R Documentation |
Given a cutpointr
object this function plots the distribution(s) of the
independent variable(s) and the respective cutpoints per class.
plot_x(x, display_cutpoint = TRUE, ...)
x |
A cutpointr object. |
display_cutpoint |
(logical) Whether or not to display the optimal cutpoint as a vertical line. |
... |
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_sensitivity_specificity()
opt_cut <- cutpointr(suicide, dsi, suicide) plot_x(opt_cut) ## With subgroup opt_cut_2groups <- cutpointr(suicide, dsi, suicide, gender) plot_x(opt_cut_2groups)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.