Learn R Programming

plotROC (version 2.3.1)

ggroc: Plot an ROC curve

Description

Deprecated, use geom_roc instead

Usage

ggroc(
  rocdata,
  fpf_string = "FPF",
  tpf_string = "TPF",
  c_string = "c",
  ci = FALSE,
  label = NULL,
  label.adj.x = 0,
  label.adj.y = 0,
  label.angle = 45,
  plotmath = FALSE,
  xlabel = "False positive fraction",
  ylabel = "True positive fraction"
)

Value

A ggplot object

Arguments

rocdata

Data frame containing true and false positive fractions, and cutoff values

fpf_string

Column name identifying false positive fraction column

tpf_string

Column name identifying true positive fraction column

c_string

Column name identifying cutoff values

ci

Logical, not supported

label

Not supported

label.adj.x

Not supported

label.adj.y

Not supported

label.angle

Not supported

plotmath

Not supported

xlabel

Defaults to "False positive fraction"

ylabel

Defaults to "True positive fraction"