plot_ROC: Draw ROC curves

Description Usage Arguments Value Examples

View source: R/ROC_sub2.R

Description

Draw ROC curves

Usage

1
2
3
4
5
6
7
8
plot_ROC(
  x,
  show.line = FALSE,
  show.points = TRUE,
  show.lr.eta = TRUE,
  show.sens = TRUE,
  show.AUC = TRUE
)

Arguments

x

A list of result(s) of Epi::ROC()

show.line

logical

show.points

logical

show.lr.eta

logical

show.sens

logical

show.AUC

logical

Value

A ggplot

Examples

1
2
3
4
5
6
7
8
require(moonBook)
require(Epi)
a=ROC(form=male~height,data=radial,plot="")
plot_ROC(a)
b=ROC(form=male~weight,data=radial,plot="")
plot_ROC(list(a,b))
c=ROC(form=male~weight+height,data=radial,plot="")
plot_ROC(list(a,b,c),show.lr.eta=FALSE,show.sens=FALSE)

cardiomoon/webrExtra documentation built on April 16, 2020, 3:19 p.m.