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).
# S3 method for 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)
An object of class Dimora
, i.e. BASS.generalized
, BASS.standard
, GG.model
.
1 or 2, which indicates whether there are one or two products
Mode "i" for instantaneous values and "c" for cumulative values
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
"y" or "n" if the out-of-sample plot is desired
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
"lty" parameter for the fitted values plot (typeog=1
).
"lwd" parameter for the fitted values plot (typeog=1
).
"type" parameter for the fitted values plot (typeog=1
).
"col" parameter for the fitted values plot (typeog=1
).
Other graphic parameters.
Zanghi Federico federico.zanghi.11@gmail.com