This function generates an example time series. The dates range from 2015 to 2016 and the sampling period is half an hour. The time series can be white noise or a random walk. It can be assigned to the KTSEnv environment.
genTSExample(stationary = TRUE, name = "TS", InKTSEnv = TRUE)
Generate white noise (TRUE) or a random walk (FALSE)
A name for the time series. It defaults to TS. When InKTSEnv is FALSE, the name is not necessary.
Assign to the environment KTSEnv (TRUE) or not (FALSE)
The time series