quickROC: A quick ROC plot.

Description Usage Arguments Value

View source: R/quickROC.R

Description

A quick ROC plot. It's a simple wrapper around pROC::roc, which adds Youden's criterion optimal cutoff and conditional positioning for AUC (+CI) estimates.

Usage

1
2
quickROC(test = NULL, refstd = NULL, direction = c("auto", "<", ">"),
  plot.roc = TRUE, main = "")

Arguments

test

Marker

refstd

Reference standard (binary variable)

direction

Charachter. Direction passed to pROC::roc

plot.roc

Logical. Plot ROC curve?

main

Graph main title

Value

The function plot the graph and return a list with ROC statistics


lbraglia/yapomif documentation built on May 20, 2019, 11:26 p.m.