Description Usage Arguments Value
Simulate a STARMA stationary process
1 2 | generate_stdata(Ntimes, klist, coef, scale = FALSE, trash = 100,
seed = NULL)
|
Ntimes |
Length of time series to generate |
klist |
A list of matrices like the ones returned by consecutive use of
|
coef |
A named vector of stationary stationary coefficients with names
|
scale |
A boolean indicating whether the data should be scaled around 0. |
trash |
Number of initial time series points to discard |
seed |
Seed to feed to |
A list with two slots: coef
, a vector of the coefficients
actually used to generate the data; data
, a matrix
of spatio-temporal data (columns correspond to locations, rows to
time-stamps).
@seealso starma_sim
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.