switch-congruence | R Documentation |
In task switching paradigms, two types of tasks switch between each other, so
the "switch cost" can be calculated (using switchcost()
). Similarly, in
Stroop-like tasks, stimuli are classified into two conditions (i.e.,
"congruent" and "incongruent"), so the "congruence effect" can be
calculated (using congeff()
). There are also special types of tests where
congruence effect and switch cost both exist, from which complexswitch()
calculates both.
complexswitch(data, .by = NULL, .input = NULL, .extra = NULL)
congeff(data, .by = NULL, .input = NULL, .extra = NULL)
switchcost(data, .by = NULL, .input = NULL, .extra = NULL)
data |
Raw data of class |
.by |
The column name(s) in |
.input , .extra |
Each is a |
A tibble with the following variables:
For the total task:
pc |
Percent of correct. |
mrt |
Mean reaction time. |
For congruence effect and switch cost, the following indices will be included (including diffs and value for each condition):
pc |
Percent of correct. |
mrt |
Mean reaction time. |
ies |
Inverse efficiency score. |
rcs |
Rate correct score. |
lisas |
Linear integrated speed-accuracy score. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.