Learn R Programming

influenceAUC (version 0.1.2)

build_AUC_plot: Internal function: Build an AUC ggplot2 object

Description

Internal function: Build an AUC ggplot2 object

Usage

build_AUC_plot(
  df,
  threshold,
  title = "",
  show.legend = FALSE,
  ylimit = c(-1, 1),
  yintercept = NULL,
  is_two_sided = TRUE
)

Arguments

df

A data frame consists of `x`, `y`, `color`, `shape`, `label`

threshold

A numeric inherits `threshold` in `IAUC` and `LAUC`

title

A character represents the plot's title

show.legend

Logical which controls the illustration of the legends

ylimit

A vector for lower and upper limits of y-axis

Value

A ggplot2 object