Nothing
AR <-
function(x, params = list(AR = list(p=1))){
p = params$AR$p
ar.ls <- pacf(x, plot = FALSE)$acf[1:p]
x.sur <- arima.sim(model=list(ar = ar.ls), n = length(x))
return(invisible(x.sur))
}
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.