Nothing
"intg" <-
function(y,x) {
n <- length(x)
index <- order(x)
dx <- diff(sort(x))
z <- y[index]
ys <- (z[1:(n-1)]+z[2:n])/2
sum(ys*dx)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.