[R] deriv value revised question

Martin Henry H. Stevens hstevens at rci.rutgers.edu
Tue May 22 22:37:30 CEST 2001

Is the simplest way to get eval( deriv(~F,"x") ) to return ONLY the values
of the
derivative of F evaluated at x by using

attr( eval( deriv( ~F, "x" ) ), "gradient") ?

If so, what is the rationale behind this?

Many thanks in advance for the edification,

Henry Stevens

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

More information about the R-help mailing list