Description Usage Arguments Value See Also
View source: R/gen_data_utils.R
This function generates multiple regular grids and simulates time series for each location according to one or more STARMA model specifications.
1 2 3 4 |
Nsites |
A vector containing the number of locations in the regular grids to be generated |
Ntimes |
A vector containing the number of time series points to be generated for each location |
mtypes |
A vector of the types of STARMA models to be used for data
generation. Should be |
coef_specs |
A named list of coefficient specifications for the models.
Each slot in the list should itself contain a named list
with slots |
ncoefs |
A vector with the number of data sets that should be generated
according to each of the specifications in the |
trash |
A number of initial time series points to be discarded at each location. |
grid.h |
Height of the grid (in number of locations).
Defaults to |
grid.w |
Width of the grid (in number of locations).
Defaults to |
init_seed |
Seed to set at the begining (before coefficient generation).
Default is |
mid_seed |
Seed to set between grid/time series size change.
Default is |
sim_seed |
Seed to feed to |
A list containing a list for each size in Nsites
. Each
of the sublists contains a list of datasets generated by
generate_one_dataset
for each time series size specified in
Ntimes
. Each of these sublists will have
sum(length(mtypes) x ncoefs)
datasets of each grid and
time series size. In total, length(Nsites) x length(Ntimes)
x sum(length(mtypes) x ncoefs)
spatio-temporal datasets are generated.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.