simGaussian <- function(len = 250)
{
sim <- list()
sim$state <- cumsum(rnorm(len))
sim$data <- sim$state + rnorm(len)
invisible(sim)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.