#Read in the ANT2 data (see ?ANT2).
data(ANT2)
head(ANT2)
ezPrecis(ANT2)
#toss NA trials
ANT2 = ANT2[!is.na(ANT2$rt),]
ezDesign(
data = ANT2
, x = trial
, y = subnum
, row = block
, col = group
)
#subnum #7 is missing data from the last half of the experiment
## Not run:
# ezDesign(
# data = ANT2
# , x = flank
# , y = subnum
# , row = cue
# )
# #again, subnum#7 has half the data as the rest
#
# #now look at error rates, which affect the number of RTs we can use
# ezDesign(
# data = ANT2[ANT2$error==0,]
# , x = flank
# , y = subnum
# , row = cue
# )
# #again, subnum#7 stands out because they have half the data as the rest
# #also, subnum#14 has no data in any incongruent cells, suggesting that
# ##they made all errors in this condition
# #finally, subnum#12 has virtually no data, suggesting that they mistakenly
# ##swapped responses
# ## End(Not run)
Run the code above in your browser using DataLab