elf: ELF

Description Usage Arguments Examples

Description

This function compute Error Location Function

Usage

1
elf(rt, accuracy, na.rm = TRUE)

Arguments

rt

Response time

accuracy

accuracy, 1 for correct trials, 0 for errors. Ex: df$accuracy

na.rm

should missing data be disregarded (if there is no error). Default is TRUE

Examples

1
2
elf(df$rt, df$accuracy) 
Return L(p)  proportion of errors among the pth first quantile of response time (computed on all responses)

thibault-gajdos/RTconflict documentation built on March 2, 2020, 6:12 p.m.