plot.Dimora {DIMORA} | R 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 |
type |
specifies the type of plot. Default setting is
|
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)
Zanghi Federico: federico.zanghi.11@gmail.com
Savio Andrea: svandr97@gmail.com
Ziliotto Filippo: filippo.ziliotto1996@gmail.com
Bessi Alessandro: alessandrobessi92@gmail.com
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')