plot_ROC: Draw ROC curves

View source: R/multipleRoc.R

plot_ROCR Documentation

Draw ROC curves

Description

Draw ROC curves

Usage

plot_ROC(
  x,
  show.points = TRUE,
  show.eta = TRUE,
  show.sens = TRUE,
  show.AUC = TRUE,
  facet = FALSE
)

Arguments

x

A list of class multipleROC

show.points

logical

show.eta

logical

show.sens

logical

show.AUC

logical

facet

logical

Value

A ggplot

Examples

require(moonBook)
a=multipleROC(male~height,data=radial)
plot(a)
b=multipleROC(male~age,data=radial)
plot_ROC(list(a,b))
c=multipleROC(form=male~weight,data=radial)
plot_ROC(list(a,b,c),show.eta=FALSE,show.sens=FALSE)
plot_ROC(list(a,b,c),facet=TRUE)
require(ggplot2)
plot_ROC(list(a,b,c))+facet_grid(no~.)

cardiomoon/multipleROC documentation built on Sept. 9, 2023, 7:41 a.m.