| prep_deriv2_return | R Documentation |
Auxilary function preparing the final object returned by the deriv2 methods.
prep_deriv2_return(x, which, drop, distribution_names)
x |
|
which |
named character vector, where the names of the vector correspond
to the calculated derivatives, the content to the requested derivatives.
See also |
drop |
logical. |
distribution_names |
|
If drop = TRUE and only one derivative is present/requested (i.e.,
length(x) == length(which) == 1L) a numeric vector is returned. Else
a matrix is returned containing the corresponding derivatives.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.