Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot_pred

Plot Time Series Forecast Function


Description

This function plots the time series output from a forecast method with approximate 68

Usage

plot_pred(x, model, n.ahead, level = NULL, xlab = NULL, ylab = NULL,
  main = NULL, ...)

Arguments

x

A gts object

model

A ts model

n.ahead

An integer indicating number of units of time ahead for which to make forecasts

level

A double or vector indicating confidence level of prediction interval. By default, it uses the levels of 0.50 and 0.95.

xlab

A string for the title of x axis

ylab

A string for the title of y axis

main

A string for the over all title of the plot

...

Additional parameters

Author(s)

Yuming Zhang


simts

Time Series Analysis Tools

v0.1.1
AGPL-3 | file LICENSE
Authors
Stéphane Guerrier [aut, cre, cph], James Balamuta [aut, cph], Roberto Molinari [aut, cph], Justin Lee [aut], Yuming Zhang [aut], Wenchao Yang [ctb], Nathanael Claussen [ctb], Yunxiang Zhang [ctb], Christian Gunning [cph], Romain Francois [cph], Ross Ihaka [cph], R Core Team [cph]
Initial release
2019-07-21

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.