Description Usage Arguments Details Value Author(s) References See Also Examples
This command computes the integral of function f(x) by providing values of x and f(x), similarly to the integrate.xy
function of the R package sfsmisc
.
1 2 | integrate.mstR(x, y)
|
x |
numeric: a vector of x values for numerical integration. |
y |
numeric: a vector of numerical values corresponding to f(x) values. |
This function was written to compute "cheap" numerical integration by providing sequences of x values and corresponding computed values f(x). It works similarly as the integrate.xy
function when use.spline=FALSE
is required. It was developed internally to eventually remove dependency of mstR
package to package sfsmisc
.
The approximated integral.
David Magis
Department of Psychology, University of Liege, Belgium
david.magis@uliege.be
Maechler, M. et al. (2012). sfsmisc: Utilities from Seminar fuer Statistik ETH Zurich. R package version 1.0-23. http://CRAN.R-project.org/package=sfsmisc
The integrate.xy
function in package sfsmisc
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.