plot.cutpointr: Plot cutpointr objects

View source: R/plot.cutpointr.R

plot.cutpointrR Documentation

Plot cutpointr objects

Description

The plot layout depends on whether subgroups were defined and whether bootstrapping was run.

Usage

## S3 method for class 'cutpointr'
plot(x, ...)

Arguments

x

A cutpointr object.

...

Further arguments.

Details

The ... argument can be used to apply ggplot2 functions to every individual plot, for example for changing the theme.

See Also

Other cutpointr plotting functions: plot_cut_boot(), plot_cutpointr(), plot_metric_boot(), plot_metric(), plot_precision_recall(), plot_roc(), plot_sensitivity_specificity(), plot_x()

Examples

opt_cut <- cutpointr(suicide, dsi, suicide, gender)
plot(opt_cut)
plot(opt_cut, ggplot2::theme_bw())

cutpointr documentation built on April 14, 2022, 1:06 a.m.