Using a zero-finding routine in R
On 28.9.2001 14:20 Uhr, Carlos Alberto Kamienski wrote:
Hello all! I'd like to use a routine in R to find the zero of a function (like Newton-Raphson, Broyden, etc.) In the manual, I found a reference to Newton-Raphson method in the "qr" function, but I simply wonder how I could use it to implement such a method.
Have a look at uniroot(), or optim() for more complex tasks. Cheers Kaspar
Kaspar Pflugshaupt Geobotanisches Institut Zuerichbergstr. 38 CH-8044 Zuerich Tel. ++41 1 632 43 19 Fax ++41 1 632 12 15 mailto:pflugshaupt at geobot.umnw.ethz.ch privat:pflugshaupt at mails.ch http://www.geobot.umnw.ethz.ch -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._