autoplot-deseats_fc-method: 'ggplot2' Plot Method for Class '"deseats_fc"'

autoplot,deseats_fc-methodR 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)

  • Dominik Schulz (Research Assistant) (Department of Economics, Paderborn University),
    Author and Package Creator

Examples


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



deseats documentation built on Sept. 11, 2024, 8:24 p.m.