Learn R Programming

r4lineups (version 0.1.1)

make_rocdata: 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