rt: Reaction Times

rtR Documentation

Reaction Times

Description

Choice Reaction Time (CRT) and Simple Reaction Time (SRT) are classical tests of human reaction times. These functions calculates the mean and standard deviation of reaction times. In addition, subjects can commit errors in CRT tests, so the number of correct responses is also calculated in crt().

Usage

crt(data, .by = NULL, .input = NULL, .extra = NULL)

srt(data, .by = NULL, .input = NULL, .extra = NULL)

Arguments

data

Raw data of class data.frame.

.by

The column name(s) in data used to be grouped by. If set to NULL (default), all data will be treated as from one subject and there will be no grouping columns in the value returned.

.input, .extra

Each is a list() containing all the input variable names and special values for certain variables. See more in the details section.

Value

An object with the same class as data contains following values:

nc

Count of correct responses. Only for crt().

mrt

Mean reaction time.

rtsd

Standard deviation of reaction times.

ies

Inverse efficiency score. Only for crt().

rcs

Rate correct score. Only for crt().

lisas

Linear integrated speed-accuracy score. Only for crt().


psychelzh/dataproc.iquizoo documentation built on Oct. 20, 2024, 6:26 p.m.