plot.gsmarpred function

Plot method for class 'gsmarpred' objects

Plot method for class 'gsmarpred' objects

plot.gsmarpred is plot method for class 'gsmarpred' objects

## S3 method for class 'gsmarpred' plot(x, ..., nt, mix_weights = TRUE, add_grid = TRUE)

Arguments

  • x: object of class 'gsmarpred' created with predict.gsmar.
  • ...: arguments passed to function grid.
  • nt: a positive integer specifying the number of observations to be plotted along with the prediction. Default is round(length(data)*0.15).
  • mix_weights: TRUE if forecasts for mixing weights should be plotted, FALSE in not.
  • add_grid: should grid a be added to the plots?

Details

This method is intended for plotting forecasts of GSMAR processes.

  • Maintainer: Savi Virolainen
  • License: GPL-3
  • Last published: 2025-04-07

Useful links