TSTdata_missing: Generated dataset of Task switching data with missing data
Description
The data is adapted from the DPdata_missing set using the following codeFormat
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)
Details
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