Nothing
"estimateResidual" <-
function(Y,h = 10) {
n <- length(Y)
YBar <- rep(0,n)
for (i in 1:n) {
a <- min(n,i+h)
b <- max(1,i-h)
YBar[i] <- mean(Y[b:a])
}
return(Y-YBar)
}
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.