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 set of nonlinear
equations.
It is not efficient and it is not recommended.

There are two packages: nleqslv and BB, that you can use to solve non linear
equation systems.
Both are available on CRAN.

/B
-- 
View this message in context: 
http://n4.nabble.com/how-to-use-optim-or-nlm-to-solve-three-nonlinear-equations-tp1459716p1459803.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to