plot.esemifar_fc {esemifar}R Documentation

Plot Method for Class "esemifar_fc"

Description

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

Usage

## S3 method for class 'esemifar_fc'
plot(x, y = NULL, t = NULL, ...)

Arguments

x

an object of class "esemifar_fc", for example generated by a call to predict.esemifar.

y

currently without use; for compatibility only.

t

a numeric vector with series of time points for observations and forecasts.

...

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

Details

This is a plot method to visualize the forecasting results for an ESEMIFAR model. Common plot arguments can be implemented to change the appearance.

Value

This method returns NULL.

Author(s)

Examples

lgdp <- log(esemifar::gdpG7$gdp)
est <- tsmoothlm(lgdp, pmax = 1, qmax = 1)
# Under normality
fc <- predict(est, n.ahead = 10, method = "norm", expo = TRUE)
plot(fc)


[Package esemifar version 2.0.1 Index]