Re: [R] interaction effects in a Linear model

2009-11-23 Thread Chuck Cleland
On 11/23/2009 1:06 AM, ashok varma wrote: hello, i am fitting a Linear model using R. I have to fit the model considering all the interaction effects of order 1 of the independent variables. But I have 9 variables. So, it will be difficult for me to write all the 36 combinations in the

Re: [R] interaction effects in a Linear model

2009-11-23 Thread ashok varma
Hi Cleland and Dennis, thanks a lot for the answer. Ashok Varma On Mon, Nov 23, 2009 at 5:05 PM, Chuck Cleland cclel...@optonline.netwrote: On 11/23/2009 1:06 AM, ashok varma wrote: hello, i am fitting a Linear model using R. I have to fit the model considering all the interaction

[R] interaction effects in a Linear model

2009-11-22 Thread ashok varma
hello, i am fitting a Linear model using R. I have to fit the model considering all the interaction effects of order 1 of the independent variables. But I have 9 variables. So, it will be difficult for me to write all the 36 combinations in the model. Can anyone please help how to get this done