Rdocumentation
powered by
Learn R Programming
grofit (version 1.1.1-1)
low.integrate: Function to estimate the area under a curve given as respecting x and y(x) values
Description
Approximates the integral of function by calculating the area under a smoothed spline fitted to the given
x
and
y(x)
values.
Usage
low.integrate(x, y)
Arguments
x
Numeric vector.
y
Numeric vector, corresponding to
x
.
Value
Area under the smoothed spline.
Details
The function uses the the R internal function
smooth.spline
.
See Also
smooth.spline