autoplot,deseats_fc-method {deseats}R Documentation

ggplot2 Plot Method for Class "deseats_fc"

Description

Create ggplot2 R plots for forecasting objects of class "deseats_fc".

Usage

## S4 method for signature 'deseats_fc'
autoplot(object, ...)

Arguments

object

an object of class "deseats_fc", for example generated by a call to predict,s_semiarma-method.

...

currently without use; implemented for compatibility.

Details

This is a plot method to visualize the forecasting results for a Seasonal Semi-ARMA model. Common plot arguments can be implemented to change the appearance.

Value

This method returns a ggplot2 plot object, i.e. an object of classes "gg" and "ggplot".

Author(s)

Examples


est <- s_semiarma(log(EXPENDITURES))
fc <- predict(est, n.ahead = 4)
fc_e <- expo(fc)
autoplot(fc_e)



[Package deseats version 1.1.0 Index]