Re: [R] help with linear model

2009-10-26 Thread Petr PIKAL
r-help-boun...@r-project.org napsal dne 26.10.2009 11:31:26: > Thank you all for your replies. I have tried transposing my data and before > but I did not mention it because I was getting the same error. In the > present case though it worked because I put > >lm1=lm(*norm~*.,data=t(data)) > inste

Re: [R] help with linear model

2009-10-26 Thread Eleni Christodoulou
Thank you all for your replies. I have tried transposing my data and before but I did not mention it because I was getting the same error. In the present case though it worked because I put >lm1=lm(*norm~*.,data=t(data)) instead of >lm1=lm(*fm1*, data=t(data)) where *fm1=norm~cols...* I actually di

Re: [R] help with linear model

2009-10-26 Thread Ista Zahn
I'm not familiar with microarray data, so I hope I'm not off base here. Data frames are structured so that variables appear in the columns and cases in the rows. From your formula it looks like you're trying to fit a model using rows as variables and columns as cases. There is probably a way to do