ec.plotfor {cif} | R Documentation |
plots forecasts
Description
plot actual and forecast intervals
Usage
ec.plotfor(
y,
x = NA,
lcolact = NA,
lcolfor = NA,
ltypefor = NA,
polycol = NA,
myylim = NA,
...
)
Arguments
y |
actual values and forecasts (point forecast, lower bound, upper bound) |
x |
time calendar |
lcolact |
color actual (scalar) |
lcolfor |
color forecasts |
ltypefor |
type forecasts |
polycol |
color polygons if one wishes to have different lcolfor,ltypefor,polycol by week > make linecol, linetype, polycol vectors, indexed by week |
myylim |
vector with min and max for y axis |
... |
other plot parameters |
Value
does not return output, just creates a graph
Author(s)
P. Paruolo
References
Berta et al. 2020
[Package cif version 0.1.1 Index]