library(ANOPA)
# the ArticleExample1 data shows an effect of the type of distracting task
ArticleExample1
# We perform an anopa on this dataset
w <- anopa( {nSuccess; nParticipants} ~ DistractingTask, ArticleExample1)
# We finish with post-hoc Tukey test
e <- posthocProportions( w )
# a small plot is *always* a good idea
anopaPlot(w)
Run the code above in your browser using DataLab