ec.plotfor | R Documentation |
plot actual and forecast intervals
ec.plotfor( y, x = NA, lcolact = NA, lcolfor = NA, ltypefor = NA, polycol = NA, myylim = NA, ... )
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 |
does not return output, just creates a graph
P. Paruolo
Berta et al. 2020
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.