sesplot: Plot forecasts (historical and future) for exponential...

View source: R/sesplot.R

sesplotR Documentation

Plot forecasts (historical and future) for exponential smoothing models

Description

Plot forecasts (historical and future) for exponential smoothing models

Usage

sesplot(mod, include = NULL, attach = "fits", main = "", lwd = 2)

Arguments

mod

The result of ftting an exponential smoothing moel with ses( ), holt( ) or hw( )

include

A number of recnt past values to show (default is NULL for all)

attach

Attach the future forecasts (and bounds) the the historical "fits" (default), or historical "series", or "no" attaching

main

Usual paramter to enter a title for the graph

lwd

Control line width (default is lwd=2)

Value

A plot with the series, historical (smoothed) values, forecast (and bounds) for future values.


statmanrobin/ts343AJ documentation built on May 23, 2022, 4:34 p.m.