trapezoidal.rule {HDiR}R Documentation

Trapezoidal rule for numerical integration over a threshold

Description

This functions implements the trapezoidal rule for numerical integration of a function f over a threshold.

Usage

trapezoidal.rule(f, step, y)

Arguments

f

Function to be integrated.

step

Numeric value of the distance between points for integration.

y

Numeric value of the threshold.

Value

A numeric value of the integral.

Author(s)

Paula Saavedra-Nieves and Rosa M. Crujeiras.


[Package HDiR version 1.1.3 Index]