genTSExample {KarsTS} | R Documentation |
A function to generate an example time series
Description
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.
Usage
genTSExample(stationary = TRUE, name = "TS", InKTSEnv = TRUE)
Arguments
stationary |
Generate white noise (TRUE) or a random walk (FALSE) |
name |
A name for the time series. It defaults to TS. When InKTSEnv is FALSE, the name is not necessary. |
InKTSEnv |
Assign to the environment KTSEnv (TRUE) or not (FALSE) |
Value
The time series
Author(s)
Marina Saez Andreu
[Package KarsTS version 2.4.1 Index]