[R] (no subject)

Dieter Menne dieter.menne at menne-biomed.de
Tue May 12 10:31:55 CEST 2009




Kon Knafelman wrote:
> 
> 
> if i have the following function,
> 
> f <- function(x) x^3-2*x^2+3*x-5
> 
> i need a simple function for the derivative of this with respect to 'x',
> so that i can then sub in values to the the derivative function, and use
> Newtons method of finding a root for this.
> 

?deriv
?uniroot (if this is not homework)

Dieter

-- 
View this message in context: http://www.nabble.com/%28no-subject%29-tp23498039p23498366.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list