Description Usage Arguments Value References Examples
Generate time series with certain seasonal period and length according to GRATIS proposed by Kang et al. (2019).
1 2 3 4 5 6 7 8 9 |
n.ts |
number of time series to be generated. |
freq |
seasonal period of time series to be generated. For example,
|
nComp |
number of mixing components when simulating time series using MAR models. |
length |
length vector of time series to be generated. The length of the generated time series is simply sampled from the length vector. |
h |
forecasting horizon of the generated time series. |
parallel |
logical. If TRUE then the generation process is conducted in parallel. |
num.cores |
the specified amount of parallel processes to be used if parallel = TRUE. |
A list of the generated time series.
Kang et al. (2019).
1 2 3 | x_y <- ts_generate(n.ts = 10, freq = 4, nComp = 2, length = c(20,25,30), h = 8)
x_y$Q1$pars
forecast::autoplot(x_y$Q1$x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.