plot_roc: Plot a ROC curve based on a roc_obj object

Description Usage Arguments Value

View source: R/roc.R

Description

Plot a ROC curve based on a roc_obj object

Usage

1
plot_roc(roc_obj, thresh_pos = "top", thresh_size = 7)

Arguments

roc_obj

Object generated by roc_obj()

thresh_pos

Character vector specifying whether the plot should place Youden's criterion above or below its point on the curve. Valid options include "top" or "bottom". Defaults to "top."

thresh_size

Numeric specifying the font size for Youden's criterion. Defaults to 7.

Value

A ggplot object


trahelyk/trahelyk_pkg documentation built on June 14, 2021, 9:25 p.m.