add_benchmark.Rdthis function adds a benchmark line (and optional label) to a ggplot object
add_benchmark(
  plot,
  y_int,
  plot_linetype = "dashed",
  plot_linecolor = OBI.color::prim_pink(),
  plot_linewidth = 0.8,
  add_label = F,
  label_text = NA,
  label_size = 5,
  label_xval = NA,
  label_yval = NA
)ggplot object
Yintercept for geom_hline
Type of line for benchmark; default is "dashed"
Color of line for benchmark (and benchmark label, if included); default is OBI.color::prim_pink()
Width of line for benchmark; default is "0.8
Whether or not benchmark should be labelled; default is FALSE
Text for benchmark label
Size of label text; default is 5
x position for benchmark label
y position for benchmark label