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

Liaw, Andy andy_liaw at merck.com
Sun Mar 20 21:44:58 CET 2005


I'd suggest a $\times$ b, as you'd find in most stat textbook.

Andy

> From: Witold Eryk Wolski
> 
> 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 at 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
> 
> 
>




More information about the R-help mailing list