#Read in the ANT data (see ?ANT).
data(ANT)
head(ANT)
ezPrecis(ANT)
#Run ezBoot on the accurate RT data
rt = ezBoot(
data = ANT
, dv = .(rt)
, wid = .(subnum)
, within = .(cue,flank)
, between = .(group)
, iterations = 1e1 #1e3 or higher is best for publication
)
#plot the full design
from_ezPlotBoot = ezPlotBoot(
from_ezBoot = rt
, x = .(flank)
, split = .(cue)
, col = .(group)
)
print(from_ezPlotBoot$plot)
#plot the effect of group across the flank*cue design
from_ezPlotBoot = ezPlotBoot(
from_ezBoot = rt
, x = .(flank)
, split = .(cue)
, diff = .(group)
)
print(from_ezPlotBoot$plot)
#plot the flank*cue design, averaging across group
from_ezPlotBoot = ezPlotBoot(
from_ezBoot = rt
, x = .(flank)
, split = .(cue)
)
print(from_ezPlotBoot$plot)Run the code above in your browser using DataLab