roc_calc {ggmcmc} | R Documentation |
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á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
[Package ggmcmc version 1.5.1.1 Index]