[R] how to use optim() or nlm() to solve three nonlinear equations

2010-02-02 Thread Nai-Wei Chen
Dear all, I just know how to solve an eaquation by using optim() or nlm(). But, now, I have three nonlinear equations, how could we use optim() or nlm() to solve  a system of nonlinear equations in R?  Thank you so much. Sincerely, Joe ___

Re: [R] how to use optim() or nlm() to solve three nonlinear equations

2010-02-02 Thread Berend Hasselman
Nai-Wei Chen wrote: I just know how to solve an eaquation by using optim() or nlm(). But, now, I have three nonlinear equations, how could we use optim() or nlm() to solve  a system of nonlinear equations in R?  Thank you so much. You don't use general optimize routines to solve a