[R] Solving a system of nonlinear equations

From: Ravi Varadhan <rvaradhan_at_jhmi.edu>
Date: Wed, 27 Jun 2007 11:59:30 -0400

Hi All,  

Here is a modification of nlsolve() that I had submitted before. The new version of nlsolve() has the option to generate multiple random starting values in order to improve the chances of locating the zeros of the nonlinear system. The last test example in the attached file, the Freudenstein-Roth function, shows the usefulness of the multiple random starts.  

Hope this is useful,


Ravi Varadhan, Ph.D.

Assistant Professor, The Center on Aging and Health

Division of Geriatric Medicine and Gerontology

Johns Hopkins University

Ph: (410) 502-2619

Fax: (410) 614-9625

Email: rvaradhan_at_jhmi.edu

Webpage: http://www.jhsph.edu/agingandhealth/People/Faculty/Varadhan.html  


R-help_at_stat.math.ethz.ch 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.
Received on Wed 27 Jun 2007 - 16:28:43 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 27 Jun 2007 - 16:32:17 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.