fullROC (version 0.1.0)

response_calculate: A function to calculate responses from simulated memory distribution

Description

A function to calculate responses from simulated memory distribution

Usage

response_calculate(memory, criterion, id_criterion = NULL, suspect = TRUE)

Arguments

memory

A simulated data matrix with suspect (column 1) and filler memory.

criterion

A vector of judgment criterion. Must have odd number of elements if id_criterion is not specified.

id_criterion

A number to define the criterion for id or rejection. Use the middle element of criterion if not specified.

suspect

Whether there is a designated suspect. Defaults to TRUE.

Value

A data matrix of id responses (IDS, IDF, or REJ) and confidence levels.