build_AUC_plot {influenceAUC}R Documentation

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


[Package influenceAUC version 0.1.2 Index]