integrateFunction: Numerical integration of functions

Description Usage Arguments Value

View source: R/cluster.r

Description

Integrates numerically a function over a range using the trapezoid method

Usage

1
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


MOMA documentation built on Nov. 8, 2020, 6:01 p.m.