Re: [R] Model Formulae Evaluation

2011-06-20 Thread albeam
Please allow me to clarify my original question. What I really need to be able to do it is to take arbitrary functions and evaluate them for arbitrary parameter values. I'm doing the optimization myself, so I need to be able to take a user's function and evaluate them at the current parameter

Re: [R] Model Formulae Evaluation

2011-06-20 Thread Gabor Grothendieck
On Mon, Jun 20, 2011 at 9:08 AM, albeam beam.and...@gmail.com wrote: Please allow me to clarify my original question. What I really need to be able to do it is to take arbitrary functions and evaluate them for arbitrary parameter values. I'm doing the optimization myself, so I need to be able

Re: [R] Model Formulae Evaluation

2011-06-20 Thread peter dalgaard
On Jun 20, 2011, at 15:08 , albeam wrote: Please allow me to clarify my original question. What I really need to be able to do it is to take arbitrary functions and evaluate them for arbitrary parameter values. I'm doing the optimization myself, so I need to be able to take a user's function

Re: [R] Model Formulae Evaluation

2011-06-20 Thread Gabor Grothendieck
On Mon, Jun 20, 2011 at 9:46 AM, Gabor Grothendieck ggrothendi...@gmail.com wrote: On Mon, Jun 20, 2011 at 9:08 AM, albeam beam.and...@gmail.com wrote: Please allow me to clarify my original question. What I really need to be able to do it is to take arbitrary functions and evaluate them for

Re: [R] Model Formulae Evaluation

2011-06-20 Thread albeam
Hi everyone, Thank you for the help, I apologize for not providing commented, minimal, self-contained, reproducible code. I was looking for some pointers about how to do this in general, but it would have been helpful for me to post a specific example. Anyway, after the feedback this is the

Re: [R] Model Formulae Evaluation

2011-06-20 Thread Gabor Grothendieck
On Mon, Jun 20, 2011 at 1:31 PM, albeam beam.and...@gmail.com wrote: Hi everyone, Thank you for the help, I apologize for not providing commented, minimal, self-contained, reproducible code. I was looking for some pointers about how to do this in general, but it would have been helpful for me

[R] Model Formulae Evaluation

2011-06-19 Thread albeam
Hello All, I have searched but haven't been able to find an answer to this question. I'm writing a function that needs to be able evaluate the right-hand side of a general non-linear formula for different parameter values, similar to what nls() does. I looked through the nls() code but it isn't