#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_ezBootPlot = ezBootPlot(
from_ezBoot = rt
, x = .(flank)
, split = .(cue)
, col = .(group)
)
print(from_ezBootPlot$plot)
#plot the effect of group across the flank*cue design
from_ezBootPlot = ezBootPlot(
from_ezBoot = rt
, x = .(flank)
, split = .(cue)
, diff = .(group)
)
print(from_ezBootPlot$plot)
#plot the flank*cue design, averaging across group
from_ezBootPlot = ezBootPlot(
from_ezBoot = rt
, x = .(flank)
, split = .(cue)
)
print(from_ezBootPlot$plot)
Run the code above in your browser using DataLab