build_AUC_plot: Internal function: Build an AUC ggplot2 object

View source: R/utils.R

build_AUC_plotR 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


BoShiangKe/InfluenceAUC documentation built on Nov. 4, 2024, 2:48 a.m.