Description Usage Arguments Value Examples
Calculate higher order derivatives for use in exact moment calculations.
1 |
expr |
An R expression of the function to be differentiated. |
name |
A qoted string containing the name of the variable with respect to which the derivative is calculated. |
order |
The order of the derivative saught. |
An R expression of the calculated derivative.
1 2 | DD(expression(exp(m*t+(1/2)*(s^2)*(t^2))), "t", 1) ## m
DD(expression(exp(m*t+(1/2)*(s^2)*(t^2))), "t", 2) ## m^2+s^2
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.