Learn R Programming

bssm (version 0.1.11)

poisson_series: Simulated Poisson time series data

Description

See example for code for reproducing the data.

Arguments

Format

A vector of length 100

Examples

Run this code
# NOT RUN {
# The data is generated as follows:
set.seed(321)
slope <- cumsum(c(0, rnorm(99, sd = 0.01)))
y <- rpois(100, exp(cumsum(slope + c(0, rnorm(99, sd = 0.1)))))
# }

Run the code above in your browser using DataLab