wght_deriv_calc: Compute the derivative(s) of a weight

Description Usage Arguments Value

View source: R/wght_functions.R

Description

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

Usage

1
2
3
4
5
6
7
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


inferference documentation built on April 21, 2021, 5:06 p.m.