plot.Dimora: Plot method for Dimora models

View source: R/plot.Dimora.R

plot.DimoraR Documentation

Plot method for Dimora models

Description

Plot method for the DIMORA package models.

Usage

## S3 method for class 'Dimora'
plot(x,..., type = c('all','res','fit'), oos = 0)

Arguments

x

an object of class Dimora.

type

specifies the type of plot. Default setting is 'all':

  • 'fit' returns the cumulative and instantaneous fit of the model;

  • 'res' returns the 'Residuals VS Time' graphic and the ACF of the residuals of the model;

  • 'all' returns the two types before combined in an unique graphical window.

oos

positive integer value: number of predictions after the last observed one. If specified, it also determines the xlim for the plots. It only works for univariate models.

...

other graphics parameters.

Author(s)

See Also

The Dimora models: BM, GBM, GGM, UCRCD.

summary.Dimora for summaries.

predict.Dimora for prediction.

make.instantaneous to create instantaneous series from the cumulative one.

Examples

data(DBdimora)
iphone <- DBdimora$iPhone[7:52]
Gd <- DBdimora$Gdenmark[1:36]
Rd <- DBdimora$Rdenmark[13:36]

## Plot with univariate model
M1 <- BM(iphone,display = FALSE)
plot.Dimora(M1,type='all',oos = 20)

## Plot with multivariate model
M8 <- UCRCD(Gd,Rd)
plot.Dimora(M8,type='fit')


DIMORA documentation built on Oct. 7, 2023, 5:07 p.m.

Related to plot.Dimora in DIMORA...