traprule {REBayes}R 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


[Package REBayes version 2.54 Index]