response_calculate: A function to calculate responses from simulated memory...

Description Usage Arguments Value

View source: R/simu_data.R

Description

A function to calculate responses from simulated memory distribution

Usage

1
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.


fullROC documentation built on Jan. 16, 2021, 5:40 p.m.