Skip to content
Back to formatted view

Raw Message

Message-ID: <B7DA3DD1.B575%pflugshaupt@geobot.umnw.ethz.ch>
Date: 2001-09-28T12:46:41Z
From: Kaspar Pflugshaupt
Subject: Using a zero-finding routine in R
In-Reply-To: <Pine.LNX.4.21.0109280906350.29001-100000@jurema.cin.ufpe.br>

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._