Description Usage Arguments Value Author(s) Examples
Suport several data types included xts, zoo, ts or numeric. If numeric data are input, R try to build a date pattern based on sysdate().
1 | ForecastHorizon(XtsData, tsfrequency, horizon)
|
XtsData |
input data set |
tsfrequency |
data frequency. It can be "year", "month", "day", "hour", "min" or "sec" |
horizon |
number representing total amount of points to generate the sequency of dates for the forecasts |
A lista conatining data transformed to ts and a date sequency for the forecasts
LOPES, J. E.
1 2 3 4 5 | x <- ForecastHorizon(rnorm(100), 'day',20)
str(x)
data(datasample, package = "cvforecast")
y <- ConvertData(datasample[,1:2], tsfrequency = "day", OutType = "xts")
y <- ForecastHorizon(y, 'day', 20)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.