create density plots of cases and controls and ROC plot

Description

create density plots of cases and controls and ROC plot

Usage

1
makeROCplot(cases, controls, label = "", xlim = NULL, abline = NULL)

Arguments

cases

a factor of predicted classes

controls

a factor of classes to be used as the true results

label

image main label

xlim

x axis extend

abline

draws vertical abline to indicate best threshold

Examples

1
2
3
4
library(pROC)
cases <- rnorm(100,-1,1.5)
controls <- rnorm(300,1,1.5)
makeROCplot(cases,controls)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.