# NOT RUN {
#See Q.ABmc
# note that the ns, ybars and s2 vectors need to be in the order reflecting subscripts
# 111, 112, 113...., 121, 122, 123, ... , ... abc. The summarySE function from the package
# Rmisc is handy for doing this. The order the user specifies the "groupvars" argument will
# put the factors in order A, B, C. This order will matter when testing different two-way
# interaction terms and different main effects. See comments in the potato example.
# }
Run the code above in your browser using DataLab