Nothing
trid <- function(x) {
d <- length(x)
term1 <- sum((x - 1)^2)
term2 <- sum(sapply(2:d, function(i) x[i] * x[i-1]))
return(term1 - term2)
}
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.