The wrapper handles chooses to to use integrate for numeric;
or to use integrateR for mpfr. Since the later doesn't allow
infinity, there is a special handling to replace infinity with a large
multiple of sigma.
ecd.integrate(object, f, lower, upper, ...,
abs.tol = .Machine$double.eps^0.25, mpfr.qagi = TRUE,
show.warning = TRUE)An object of ecd class. This object can be bare-boned.
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.
Numeric, the lower limit of integration. Can be infinite.
Numeric, the upper limit of integration. Can be infinite.
Addtional arguments for f.
numeric, the suggested absolute tolerance.
logical, to use quadpack qagi transformation for infinity.
logical, to suppress warnings or not.
The integrate object