integrateVector: 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
integrateVector(f, lower, upper, ...)

Arguments

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.

lower

vector the limits of integration. Can be infinite.

upper

vector the limits of integration. Can be infinite.

...

additional arguments to be passed to f.

Value

value a vector the final estimate of the integral.


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