Constructs symbolic derivatives of some mathematical
expressions
Usage
symbolicD(formula, ..., .order = NULL)
Arguments
formula
a mathematical expression (see examples
and plotFun)
...
additional parameters, typically default
values for mathematical parameters
.order
a number specifying the order of a
derivative with respect to a single variable
Value
a function implementing the derivative
Details
Uses the built-in symbolic differentiation function to
construct a formula for the derivative and packages this
up as a function. The .order argument is just for
convenience when programming high-order derivatives, e.g.
the 5th derivative w.r.t. one variable.