library(ANOPA)
# the twoWayExample data with proportions per Classes and Difficulty levels
twoWayExample
# perform an anopa on this dataset
w <- anopa( {success;total} ~ Difficulty * Class, twoWayExample)
# We analyse the proportions by Difficulty for each Class
e <- emProportions(w, ~ Difficulty | Class)
Run the code above in your browser using DataLab