make_rocdata {r4lineups} | R Documentation |
Helper functions: Compute and plot ROC curve for lineup accuracy ~ confidence
Description
Function to compute and plot an ROC curve for data from an eyewitness experiment, where accuracy is recorded for target present and target absent lineups
Usage
make_rocdata(df_confacc)
Arguments
df_confacc |
A df with two columns, confidence and accuracy, where accuracy = binary accuracy. |
Value
An ROC object of package pROC
[Package r4lineups version 0.1.1 Index]