powered by
Cumulative Trapezoid Rule Numerical Integration using Rcpp
cumtrapzRcpp(X, Y)
Sorted vector of X values
Vector of Y values.