Integrate a Function with at Most Finite Number of Discontinuities *EXPERIMENTAL*
The function uses multiple calls to integrate
.
integrate_discont_val(f, from, to, discontinuities = numeric(0), ...)
f |
an R function taking a numeric vector of length 1 as its first argument and returning a numeric vector of length 1 |
from |
the lower limit of integration |
to |
the upper limit of integration |
discontinuities |
nondecreasingly sorted numeric vector which indicates
the points at which |
... |
further arguments to be passed to the |
Returns the estimate of the integral.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.