The indices for ANT task are calculated.
Usage
ant_orient(data, .by = NULL, .input = NULL, .extra = NULL)
ant_alert(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 toNULL
(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:
Executive function score (prefix cong_eff
), total orienting scores
(prefix orient
), endogenous orienting scores (prefix orient_endo
),
exogenous orienting scores (prefix orient_exo
), total alerting scores
(prefix alert
), audio alerting scores (prefix alert_aud
) and visual
alerting scores (prefix alert_vis
) for the following performances:
- pc
Percent of correct.
- mrt
Mean reaction time.
- ies
Inverse efficiency score.
- rcs
Rate correct score.
- lisas
Linear integrated speed-accuracy score.