model.tables.aov(aov.object, type="effects", se=F, cterms) model.tables.aovlist(aov.object, type="effects", se=F)
Factorial effects are specific to 2^k models, where effects are conventionally defined as the difference between the upper and lower level of a factor. We follow the convention used in Box, Hunter and Hunter(1978) for scaling of higher order interactions: all the factorial effects are on the same scale, and represent the average difference due to that interaction between two different levels.
Standard errors for differences of means (sed's) can be complex for multistratum anova (objects of class aovlist), even in the balanced case, as the standard error depends on the shared main effects of the means. For instance, different standard errors can apply for comparisons of means within the same stratum as opposed to between different strata. Where different sed's apply, a vector of sed's are returned, labelled accordingly.
Treatment effects are sometimes computed in more than one stratum, with different efficiencies (see eff.aovlist). In this case results are only returned for the most efficient strata (usually the lowest). No attempt is made to recombine information about effects estimated in different strata. Effects, means and standard errors are based on results that have been rescaled by their relative efficiency.
Tables uses proj(aov.object), together with the auxiliary information returned with the projection to construct the tables. Hence if the model.tables function will called, it is always a good idea to use qr=T when fitting the aov model.
The result is printed by the function print.model.tables.aov This function is a method for the generic function model.tables for class "aov(aovlist)". It can be invoked by calling model.tables for an object of the appropriate class, or directly by calling model.tables.aov(aovlist) regardless of the class of the object.
Box, G. E. P., Hunter, W. G., Hunter, J. S. (1978). Statistics for Experimenters. New York: Wiley.
gun.aov <- aov(Rounds ~ Method + Team %in% Physique, data = gun) model.tables(gun.aov, type="means", se=T) #tables of means, replication and standard errors of #differences for gun.aov model.tables(gun.aov, type="means", cterms = "Method") guayule.aov <- aov(plants ~ variety * treatment + Error(reps + flats), data = guayule) model.tables(guayule.aov, type= "eff", se=T) #tables of effects, replication and standard errors for gun.aov model.tables(guayule.aov, type= "eff", se=T)