Takes the derivative of the wght_calc
function with respect to each
parameter in params
.
wght_deriv_calc(
integrand,
parameters,
allocation,
integrate_allocation = TRUE,
...
)
function to pass to the argument 'f' of integrate
.
vector of parameter values
the allocation ratio for which to compute the weight
Indicator of whether the integrand function uses the allocation parameter. Defaults to TRUE.
other arguments passed to integrand.
vector of derivatives with respect to element of params