Learn R Programming

sigr (version 1.1.2)

sensitivity_from_specificity_q: Compute the q-graph.

Description

Based on: https://blog.revolutionanalytics.com/2016/08/roc-curves-in-two-lines-of-code.html

Usage

sensitivity_from_specificity_q(Specificity, q)

Arguments

Specificity

vector of sensitivities to evaluate

q

shape parameter for 1 - (1 - (1-Specificity)^q)^(1/q)

Value

Sensitivity

Examples

Run this code
# NOT RUN {
sensitivity_from_specificity_q(seq(0, 1, 0.1), 0.61)

# }

Run the code above in your browser using DataLab