Re: [R] liner regression for multiple keys

2010-04-26 Thread newbie_2010
Hi Ben it's working good except no values of 4th column in output. And also if the file is large I'm getting the following error. Error in pf(q, df1, df2, lower.tail, log.p) : Non-numeric argument to mathematical function I rechecked if I have any non numeric arguments the defined columns. I

Re: [R] liner regression for multiple keys

2010-04-14 Thread Ben Bolker
newbie_2010 gmail.com> writes: > a1 is the first key in input. second column is x-axis and 3rd is y-axis and > 4th is its corresponding key. > Now for every key in 1st column I would like to calculate LR that gives p > value. I tried to manage with a single key. But my problem is that How could >

[R] liner regression for multiple keys

2010-04-13 Thread newbie_2010
a1 is the first key in input. second column is x-axis and 3rd is y-axis and 4th is its corresponding key. Now for every key in 1st column I would like to calculate LR that gives p value. I tried to manage with a single key. But my problem is that How could I manage multiple keys in input. Thanx in