search for: fcastdate

Displaying 1 result from an estimated 1 matches for "fcastdate".

Did you mean: fcastdates
2009 Aug 07
3
How do I plot a line followed by two forecast points?
...e("1992-12-31"),by="month"); # Sample y value > yValues<-NULL; > yValues[1:length(xValues)]=seq(0.1,length=length(xValues)) # Plot the series as a line > plot(xValues,yValues,type="l"); # Sample forecast dates that start from xValue's data point > fcastDates=seq.Date(from=as.Date(xValues[length(xValues)]),length=12,by="month"); > fcastDates [1] "1992-12-31" "1993-01-31" "1993-03-03" "1993-03-31" "1993-05-01" "1993-05-31" [7] "1993-07-01" "1993-07-31" "1...