integrate0 | R Documentation |
Compute the integral \int_a^b f(x) dx
.
integrate0(f, lower, upper, args)
f |
Function to integrate. |
lower |
Lower limit of integral. |
upper |
Upper limit of integral. |
args |
List of additional arguments from the function |
A list with the form of a integrate_result
described in section
"Integration" of the package vignette.
f = function(x) { exp(-x^2 / 2) }
args = integrate_args()
integrate0(f, 0, 10, args)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.