pred.arima: Predicts for ARIMA

Description Usage Arguments Value Author(s) Examples

Description

Performs predictions over an ARIMA model using the stats::predict function.

Usage

1
pred.arima(model, n.ahead)

Arguments

model

An ARIMA model.

n.ahead

Number of values to predict.

Value

A ts object containing the predictions.

Author(s)

Alberto Vico Moreno

Examples

1
pred.arima(forecast::auto.arima(prep(AirPassengers)$tserie),n.ahead=30)

avm00016/predtoolsTS documentation built on May 7, 2019, 10:56 a.m.