Learn R Programming

deseats (version 1.1.0)

plot,deseats_fc-method: Plot Method for Class "deseats_fc"

Description

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

Usage

# S4 method for deseats_fc
plot(x, y = NULL, ...)

Value

This method returns NULL.

Arguments

x

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

y

currently without use; for compatibility only.

...

further arguments of plot.ts to adjust for example the axis limits via xlim and ylim.

Author

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

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.

Examples

Run this code
# \donttest{
est <- s_semiarma(log(EXPENDITURES))
fc <- predict(est, n.ahead = 4)
fc_e <- expo(fc)
plot(fc_e)
# }

Run the code above in your browser using DataLab