integral {SPARRAfairness}R 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.


[Package SPARRAfairness version 0.0.0.1 Index]