Description Usage Arguments Value Examples
View source: R/MC_integration.R
The function int() performs a Monte Carlo integration of the function f.
1 | int(f, a, b, n = 10^5)
|
f |
the integrand |
a |
lower bound of integration |
b |
upper bound of integration |
n |
number of simulation, per default 10^5 |
returns a list containing the value of the integral, the 0.95-confidence interval, number of simulations and the function f
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.