integral: integral() Quick form for trapezoidal integration over range...

View source: R/SPARRAfairness_functions.R

integralR Documentation

integral() Quick form for trapezoidal integration over range of x

Description

integral() Quick form for trapezoidal integration over range of x

Usage

integral(x, y = NULL)

Arguments

x

x co-ordinates, or nx2 matrix of points

y

y co-ordinates

Value

trapezoidal estimate of integral of the xth value of y over range of x.


SPARRAfairness documentation built on April 11, 2025, 6:17 p.m.