plot.gmvarpred: plot method for class 'gmvarpred' objects

View source: R/backwardCompatibility.R

plot.gmvarpredR Documentation

plot method for class 'gmvarpred' objects

Description

plot.gmvarpred is plot method for gsmvarpred objects. EXISTS FOR BACKWARD COMPATIBILITY. THE CLASS 'gmvarpred' IS DEPRECATED FROM THE VERSION 2.0.0 ONWARD: WE USE THE CLASS 'gsmvarpred' NOW.

Usage

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

## S3 method for class 'gmvarpred'
print(x, ..., digits = 2)

Arguments

x

object of class 'gsmvarpred' generated by predict.gsmvar.

...

arguments passed to grid which plots grid to the figure.

nt

a positive integer specifying the number of observations to be plotted along with the prediction (ignored if plot_res==FALSE). Default is round(nrow(data)*0.15).

mix_weights

TRUE if forecasts for mixing weights should be plotted, FALSE in not.

add_grid

should grid be added to the plots?

digits

how many digits to print?

Details

These methods exist so that objects created with earlier versions of the package can be used normally.


saviviro/gmvarkit documentation built on March 8, 2024, 4:15 a.m.