Re: [R] constrOptim and further arguments

2011-12-22 Thread Uwe Ligges
On 21.12.2011 18:08, Michael Griffiths wrote: Dear List, I have the code below, where I am using the constrained optimisation package, 'constrOptim.nl' to find the values of two values, b0 and b1. I have no problems when I enter further variable information DIRECTLY into the functions, fn, an

Re: [R] constrOptim and further arguments

2011-12-21 Thread Michael Griffiths
Dear List, I have the code below, where I am using the constrained optimisation package, 'constrOptim.nl' to find the values of two values, b0 and b1. I have no problems when I enter further variable information DIRECTLY into the functions, fn, and heq. In this instance I require fn to have -0.00