The data is adapted from the DPdata set using the following code
DPdata_missing
A dataframe with 3840 rows and 6 variables
subject: contains participant numbers for 20 subjects
blockcode: two block conditions "block1" and "block2"
trialnum: 96 trials per block
congruency: sets to congruent or incongruent trials
latency: RT measure (simulated data)
correct: accuracy (set to all accurate for the example)
DPdata_missing <- DPdata DPdata_missing$correct <- ifelse(DPdata_missing$subject == 15 & DPdata_missing$blockcode == "block2", 0,1)
A dataset containing data necessary to run examples of each function including missing data