Description Usage Arguments Value Examples
auto.arima forecast wrapper
1 2 | fc_auto.arima(x, h, level = 95, onlyfc = TRUE, xreg = NULL,
newxreg = NULL, ...)
|
x |
'ts' data |
h |
forecast horizon |
level |
confidence level. Default is 0.95 |
onlyfc |
if TRUE return only forecasts, otherwise returns a full forecast classed object |
xreg |
in ARIMA model with covariates it's must be provide |
newxreg |
in ARIMA model with covariates it's must be provide for forecasting the covariates |
... |
extra args, if needed. |
forecasts from ts data or an object of class 'forecast'
1 2 3 4 | fit <- fc_auto.arima(AirPassengers, h=10, onlyfc = FALSE)
plot(fit)
Mresid(fit)
tsSummary(fit)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.