wght_deriv_calc function

Compute the derivative(s) of a weight

Compute the derivative(s) of a weight

Takes the derivative of the wght_calc function with respect to each parameter in params.

wght_deriv_calc( integrand, parameters, allocation, integrate_allocation = TRUE, ... )

Arguments

  • integrand: function to pass to the argument 'f' of integrate.
  • parameters: vector of parameter values
  • allocation: the allocation ratio for which to compute the weight
  • integrate_allocation: Indicator of whether the integrand function uses the allocation parameter. Defaults to TRUE.
  • ...: other arguments passed to integrand.

Returns

vector of derivatives with respect to element of params

  • Maintainer: Bradley Saul
  • License: GPL (>= 2)
  • Last published: 2021-04-21

Useful links