Learn R Programming

REBayes (version 2.56)

traprule: Integration by Trapezoidal Rule

Description

Integration by Trapezoidal Rule

Usage

traprule(x, y)

Value

A real number.

Arguments

x

points of evaluation

y

function values

Author

R. Koenker

Details

Crude Riemann sum approximation.