Learn R Programming

ggmcmc (version 1.5.1.1)

roc_calc: Calculate the ROC curve for a set of observed outcomes and predicted probabilities

Description

Internal function used by ggs_autocorrelation.

Usage

roc_calc(R)

Arguments

R

data frame with the 'value' (predicted probability) and the observed 'Outcome'.

Value

A data frame with the Sensitivity and the Specificity.

References

Fern<U+00E1>ndez-i-Mar<U+00ED>n, Xavier (2016) ggmcmc: Analysis of MCMC Samples and Bayesian Inference. Journal of Statistical Software, 70(9), 1-20. doi:10.18637/jss.v070.i09