R/simGaussian.R

Defines functions simGaussian

Documented in simGaussian

simGaussian <- function(len = 250)
{
  sim <- list()
  sim$state <- cumsum(rnorm(len))
  sim$data  <- sim$state + rnorm(len)

  invisible(sim)
}

Try the RcppSMC package in your browser

Any scripts or data that you put into this service are public.

RcppSMC documentation built on May 31, 2017, 4:56 a.m.