trapezoidal.rule {HDiR} | R Documentation |
This functions implements the trapezoidal rule for numerical integration of a function f
over a threshold.
trapezoidal.rule(f, step, y)
f |
Function to be integrated. |
step |
Numeric value of the distance between points for integration. |
y |
Numeric value of the threshold. |
A numeric value of the integral.
Paula Saavedra-Nieves and Rosa M. Crujeiras.