Learn R Programming

IAT (version 0.3)

plotIIV: Plot intraindividual variability of reaction time

Description

Plot intraindividual variability in reaction time, faceted by the four essential blocks.

Usage

plotIIV(my_data, data_type, block_name, trial_blocks, session_id, trial_number, trial_latency)

Arguments

my_data
The raw dataframe to be used
data_type
A string of "raw" for no cleaning, or "clean" for cleaned data (no error trials, RT < 10,000ms, and RT > 180ms)
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).
session_id
A string of the variable name identifying each unique participant.
trial_number
A string of the variable identifying the trial number.
trial_latency
A string of the variable name for the latency of each trial.