Nothing
detrend <-
function(series, order=1, lowess=FALSE, lowspan=2/3){
if (NCOL(series) > 1) stop("univariate time series only")
if (lowess) {
u = stats::lowess(series, f=lowspan)
return(series-u$y)
} else {
y = as.vector(time(series))
u = stats::lm(series~ poly(y, order), na.action=NULL)
return(resid(u))
}
}
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.