View source: R/calculus_funs.R
riemann | R Documentation |
Calculate Riemann sums
riemann(fun, min, max, n = 2, ...)
fun |
function used to calculate the intergral using Riemann sums. |
min |
minimum x-value. |
max |
maximum x-value. |
n |
number of rectangles used to estimate Riemann sum. |
... |
other parameters passed to f. |
data.frame with three variables: xmin, height (i.e. f(xmin)), and area.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.