traprule: Integration by Trapezoidal Rule

View source: R/misc.R

trapruleR Documentation

Integration by Trapezoidal Rule

Description

Integration by Trapezoidal Rule

Usage

traprule(x, y)

Arguments

x

points of evaluation

y

function values

Details

Crude Riemann sum approximation.

Value

A real number.

Author(s)

R. Koenker


REBayes documentation built on Aug. 19, 2023, 5:10 p.m.