plot.perf_by_cutoff: Plot method for class perf_by_cutoff

View source: R/plot_perf_by_cutoff_method.R

plot.perf_by_cutoffR Documentation

Plot method for class perf_by_cutoff

Description

Plot method for class perf_by_cutoff

Usage

## S3 method for class 'perf_by_cutoff'
plot(
  x,
  colors = c("#377eb8", "#e41a1c"),
  show.optimal = TRUE,
  show.cost = TRUE
)

Arguments

x

an object of class perf_by_cutoff to be plotted

colors

a vector of two colors to be used in the plot for the sensitivity curve and cost line, respectively. Defaults to c("#377eb8","#e41a1c")

show.optimal

logical; should the optimally cost-effective nomination cutoff be plotted? Defaults to TRUE

show.cost

logical; should the proportional testing cost be plotted? defaults to TRUE


mcbeem/giftedCalcs documentation built on May 3, 2022, 3:34 a.m.