Displaying 1 result from an estimated 1 matches for "fcastdates2".
Did you mean:
fcastdates
2009 Aug 07
3
How do I plot a line followed by two forecast points?
...ot; "NA" "20"
# Add the forecast plot to the original plot
> par(new=TRUE)
> plot(fcastDates,fcast,yaxt="n",xaxt="n",col="red")
Warning message:
In xy.coords(x, y, xlabel, ylabel, log) : NAs introduced by coercion
# The second forecast
> fcastDates2=seq.Date(from=as.Date(fcastDates[length(fcastDates)]),length=12,by="month");
> fcastDates2
[1] "1993-12-01" "1994-01-01" "1994-02-01" "1994-03-01" "1994-04-01"
"1994-05-01"
[7] "1994-06-01" "1994-07-01" &...