plotItemVar {IAT} | R Documentation |
Plot IAT item variability
Description
Plot mean item reaction time with 95% confidence intervals to see how reaction time varies by item. The data is automatically cleaned (i.e., no error trials, and trials with RT > 10000 or < 180 are deleted) to avoid over/underinflation of mean estimates and only includes trials from essential blocks.
Usage
plotItemVar(my_data, block_name, trial_blocks, item_name, trial_latency,
trial_error)
Arguments
my_data |
The raw dataframe to be used |
block_name |
A string of the variable name for the blocks |
trial_blocks |
A vector of the four essential blocks in the seven-block IAT (i.e., B3, B4, B6, and B7). |
item_name |
A string of the variable identifying the items |
trial_latency |
A string of the variable name for the latency of each trial. |
trial_error |
A string of the variable name identifying whether a trial was an error or not (1 = error) |
[Package IAT version 0.3 Index]