integrateFunction {MOMA} | R Documentation

## Numerical integration of functions

### Description

Integrates numerically a function over a range using the trapezoid method

### Usage

    integrateFunction(f, xmin, xmax, steps = 100, ...)

### Arguments

`f` | Function of 1 variable (first argument)
`xmin` | Number indicating the min x value
`xmax` | Number indicating the max x value
`steps` | Integer indicating the number of steps to evaluate
`...` | Additional arguments for `f`

### Value

Number

[Package MOMA version 1.4.0 Index]