Obtains predictions of ConsRegArima object
# S3 method for ConsRegArima
predict(object, h = ifelse(is.null(newdata), 1,
nrow(newdata)), newdata = NULL, intervals = 90, origdata = NULL,
...)# S3 method for predict.ConsRegArima
print(x, ...)
# S3 method for predict.ConsRegArima
plot(x, ...)
ConsRegArima object
horizont to predict
data frame in which to look for variables with which to predict. In case there is no regression part, this parameter could be set NULL
Confidence level for prediction intervals (default 90)
Original data (default NULL). Useful if lagged predictive variables are used in the formula
Additional params passed to the function ggplot2::labs
object of class predict.ConsRegArima
Returns an object of class predict.ConsRegArima
dataframe with the predictions
dataframe with the predictions as well as the fitted values
Interval level
original object