Learn R Programming

ggmcmc (version 1.5.1.2)

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)

Value

A data frame with the Sensitivity and the Specificity.

Arguments

R

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

References

Fernández-i-Marí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