[R] Newton-Raphson with analytical derivatives

François Pinard pinard at iro.umontreal.ca
Fri Mar 3 23:34:12 CET 2006


[m p]

>Can someone point to a package with Newton-Raphson method using 
>analytic derivatives. This is just for a 1D problem. Could not find 
>easily anything suitable.

You may check:

  http://pinard.progiciels-bpi.ca/plaisirs/animations/NRart/R/nr.image.R

If you remove the graphics-related lines, the few remaining lines is
Newton-Raphson over an expression.  Don't take this too seriously, it 
was a mere toy with this to get an initial feel of the R language.  :-)

-- 
François Pinard   http://pinard.progiciels-bpi.ca




More information about the R-help mailing list