Re: [R] Formula Interpreter in R

2011-06-03 Thread Gabor Grothendieck
On Fri, Jun 3, 2011 at 11:48 AM, amit jain wrote: > > Hi All, > Before writing a simple formula intereter in R myself, i wanted to find out > if any one has done it before. I could not locate it myself. I am looking for > something like this - take a dataframe and a simple formula string as inpu

Re: [R] Formula Interpreter in R

2011-06-03 Thread Sarah Goslee
Can you provide an actual R example? I'm not seeing how what you want differs from something like apply(mydataframe, 2, function(x)sum(x^2 + 3)) Sarah On Fri, Jun 3, 2011 at 11:48 AM, amit jain wrote: > > Hi All, > Before writing a simple formula intereter in R myself, i wanted to find out > i

[R] Formula Interpreter in R

2011-06-03 Thread amit jain
Hi All, Before writing a simple formula intereter in R myself, i wanted to find out if any one has done it before. I could not locate it myself. I am looking for something like this - take a dataframe and a simple formula string as input and gives an output with formula applied on different col