doubleintegral: Function to calculate double integrals

Description Usage Arguments Value

Description

This function is primarily build to make the function components neater.

Usage

1
doubleintegral(lower_inner, upper_inner, lower_outer, upper_outer, cdf, ...)

Arguments

lower_inner

The vector for the lower bound for the inner integral

upper_inner

The vector for the upper bound for the inner integral

lower_outer

The vector for the lower bound for the outer integral

upper_outer

The vector for the upper bound for the outer integral

cdf

the cumulative density function (from the class "function")

...

Further arguments passed to the cdf.

Value

a vector with the value of the double integral for each observation (with an observed target variable)


hmi documentation built on Oct. 23, 2020, 7:31 p.m.