Skip to contents

A classical test on inhibition skills. The index calculation is now based on https://doi.org/10.7554/eLife.46323.

Usage

stopsignal(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

A tibble with the following variables:

pc_all

Percent of correct for all the responses.

pc_go

Percent of correct for the go trials only.

pc_stop

Percent of correct for the stop trials only.

rt_nth

Percentile go reaction time (ms) based on pc_stop.

mean_ssd

Mean of stop signal delay (ms).

ssrt

Stop signal reaction time (ms).