wght_deriv_calc {inferference}R Documentation

Compute the derivative(s) of a weight

Description

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

Usage

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.

Value

vector of derivatives with respect to element of params


[Package inferference version 1.0.2 Index]