The data is adapted from the DPdata_missing set using the following code
TSTdata_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
trialtype: sets to repeat or switch trials
latency: RT measure (simulated data)
correct: accuracy (set to all accurate for the example)
TSTdata_missing <- DPdata_missing names(TSTdata_missing)[names(TSTdata_missing) == "congruency"] <- "trialtype" TSTdata_missing$trialtype <- ifelse(TSTdata_missing$trialtype == "Congruent", "Repeat", "Switch")
A dataset containing data necessary to run examples of each function