[R] Interaction term in anova - how it should be written in a manuscript table?

Witold Eryk Wolski W.E.Wolski at ncl.ac.uk
Sun Mar 20 19:32:58 CET 2005


Dear Rgurus,

Interaction terms in the linear models function lm are specified by the 
colon :
eg: x ~ a + b + a:b

a shortcut for the above is:
 x ~ a*b

the output if calling anova on the lm object will be the same in both cases

a ....
b ....
a:b ...
Resdiuals ...

What I am wondering is how the interaction term (a:b) given above should 
be written in a table in an manuscript?

a ) a*b
b ) a$\cdot$ b
c ) a:b
d) ....

Cheers Eryk.




More information about the R-help mailing list