plot.Dimora: plot method for Dimora

Description Usage Arguments Author(s)

View source: R/plot.Dimora.R

Description

Three plots (to be selected with typeog) are currently available: a plot of fitted values over observed data (typeog=1), a plot of residuals against fitted values (typeog=2), a plot of residuals against time (typeog=3).

Usage

1
2
3
## S3 method for class 'Dimora'
plot(x,..., product=1, mode=c("i","c"),typeog=1,oos=c("y","n"),
                    xlim=NULL,ltycurve=1,lwdcurve=1.5,typecurve="l",colcurve=2)

Arguments

x

An object of class Dimora, i.e. BASS.generalized, BASS.standard, GG.model.

product

1 or 2, which indicates whether there are one or two products

mode

Mode "i" for instantaneous values and "c" for cumulative values

typeog

Fitted values on observed data typeog=1, residuals against fitted values typeog=2 and residuals against time typeog=3, and all the plots with typeog=0

oos

"y" or "n" if the out-of-sample plot is desired

xlim

The limit for the graph, default values is null, if the out-of-sample plot is desired the portion of out-of-sample values may be defined

ltycurve

"lty" parameter for the fitted values plot (typeog=1).

lwdcurve

"lwd" parameter for the fitted values plot (typeog=1).

typecurve

"type" parameter for the fitted values plot (typeog=1).

colcurve

"col" parameter for the fitted values plot (typeog=1).

...

Other graphic parameters.

Author(s)

Zanghi Federico federico.zanghi.11@gmail.com


federicozanghi/DIMORA documentation built on Nov. 6, 2021, 2:32 a.m.