powered by
Logarithmise and / or difference a time series
Scaler(x, Diff = 0, Sdiff = 0, Log = FALSE)
time series
number of differences to be taken
number of seasonal differences to be taken
Should time series be logarithmised
Function is used in dsa to let the user decide whether logs and differences should be taken.
# NOT RUN { a = ts(rnorm(100, 100, 10), start=c(2015,1), frequency=12) Scaler(a, Diff=1, Log=TRUE) # }
Run the code above in your browser using DataLab