Would it work to use deriv with the optional function.arg argument? In some ways deriv is just a wrapper around repeated calls to D. (It does a bit more than that but you could think of it that way.)
Erin Hodgess <[EMAIL PROTECTED]> writes: > Dear R People: > > When the D function is used for a symbolic derivative, > an expression is returned, which is fine. > > How do you change that expression to a function, please? > > I've been experimenting with substitute and deparse, but no success > yet. > > This is R 1.8.0 for Windows. > > thanks in advance for the help! > > Sincerely, > Erin Hodgess > mailto: [EMAIL PROTECTED] > > ______________________________________________ > [EMAIL PROTECTED] mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help -- Douglas Bates [EMAIL PROTECTED] Statistics Department 608/262-2598 University of Wisconsin - Madison http://www.stat.wisc.edu/~bates/ ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
