Learn R Programming

IAT (version 0.3)

plotItemErr: Plot proportion of errors per item in the IAT

Description

Plot proportion of errors in the IAT to see if any items yield high error rates. The data is automatically cleaned (i.e., trials with RT > 10000 or < 180 are deleted) to avoid over/underinflation of mean error estimates

Usage

plotItemErr(my_data, item_name, trial_latency, trial_error)

Arguments

my_data
The raw dataframe to be used
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)