integrate | R Documentation |
inline call to integrate that returns integration value rather than list
f %integrate% range
f |
function (with numeric return) |
range |
vector of two numbers c(low, high) |
Ben Wiseman, benjamin.wiseman@kornferry.com
f <- function(x) x^2
print(f %integrate% c(0, 1))
# vs base
x <- integrate(f, 0, 1)
str(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.