traprule: Integration by Trapezoidal Rule

Description Usage Arguments Details Value Author(s)

View source: R/misc.R

Description

Integration by Trapezoidal Rule

Usage

1
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 May 19, 2017, 7:12 a.m.
Search within the REBayes package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.