powered by
inline call to integrate that returns integration value rather than list
f %integrate% range
function (with numeric return)
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)
Run the code above in your browser using DataLab