integrateMAP2: Adaptive quadrature of functions of one variable over a...

Description Usage Arguments Value

View source: R/Vectortools.R

Description

Adaptive quadrature of functions of one variable over a finite or infinite interval.

Usage

1
integrateMAP2(lower, upper, f, ...)

Arguments

lower

the limits of integration. Can be infinite.

upper

the limits of integration. Can be infinite.

f

an R function taking a numeric first argument and returning a numeric vector of the same length. Returning a non-finite element will generate an error.

...

additional arguments to be passed to f.

Value

value the final estimate of the integral.


MomentVon/HMtools documentation built on April 4, 2021, 8:57 p.m.