[R] simple anova question

AllenL allen.larocque at gmail.com
Wed May 13 21:21:03 CEST 2009


Dear R group,
Simple anova question:
I am attempting to recreate a figure (from chapter 10 of "Mordern Statistics
for the Life Sciences", chapter 10, figure 10.8).

It is an interaction diagram plotting BYIELD (continuous) as a function of
BSPACING (categorical) with different lines/colours for another categorical
variable BVARIETY. The data is replicated into four categorical BBLOCK(s).
The corresponding analysis looks like this:
BYIELD~BBLOCK+BSPACING+BVARIETY

What I want to extract from this model is simply the expected value all
possible combination of factors. I can do this by adding the correct
combinations of model coefficients, but this seems silly. Surely there is a
one-line function for sorting this sort of thing out?

Many thanks,
Allen
-- 
View this message in context: http://www.nabble.com/simple-anova-question-tp23528280p23528280.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list