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 solu

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 value

[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 cl