myarimaforecast: Forecast with Arima Model

Description Usage Arguments Value Examples

View source: R/myarimaforecast.R

Description

This fits an Arima model to data with forecast's auto.arima() function and plots a forecast with the forecast() function.

Usage

1
myarimaforecast(data, nyears = 10)

Arguments

data

A vector (time series) of data

nyears

Number of time steps to forecast forward

Value

A plot of a forecast.

Examples

1
2
dat <- WWWusage
myarimaforecast(dat, nyears=100)

RVerse-Tutorials/Simple-Satellite-Images documentation built on May 30, 2020, 12:03 a.m.