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.

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to