Nothing
simNonlin <- function(len = 50)
{
sim <- list()
innovations <- rnorm(len) * sqrt(10)
sim$state[1] <- innovations[1]
for (i in 2:len) {
sim$state[i] <- 0.5 * sim$state[i-1] + 25 * sim$state[i-1] /
(1 + sim$state[i-1]^2) + 8 * cos(1.2*(i-1)) + innovations[i]
}
sim$data <- sim$state^2 / 20 + rnorm(len)
invisible(sim)
}
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.