postr_sensplot: plot Sensitivity (TPR) and Specificity (TNR) curves

Description Usage Arguments Value

View source: R/sensplot.R

Description

plot Sensitivity (TPR) and Specificity (TNR) curves

Usage

1
2
3
postr_sensplot(model, tpr.color = "red", tnr.color = "blue")

pr_sensplot(model, tpr.color = "red", tnr.color = "blue")

Arguments

model

A glm logistic model

tpr.color

Color for sensitivity (TPR) line

tnr.color

Color for specificity (TNR) line

Value

ggplot object


josherrickson/postr documentation built on Nov. 13, 2020, 11:23 a.m.