[R] plotting predicted values for time series. Solution

2010-06-07 Thread Erin Hodgess
Dear R People: A very fine solution exists in the "forecast" package, by using plot.forecast. Thanks though! Sincerely, Erin -- Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: erinm.hodg...@gmail.com _

[R] plotting predicted values for time series.

2010-06-07 Thread Erin Hodgess
Dear R People: I found the following code on the Internet: > x <- co2 > m <- HoltWinters(x, alpha=.1, beta=0, gamma=0) > p <- predict(m, n.ahead=240, prediction.interval=T) > plot(m, predicted.values=p) > and it works fine. My question: is there an equivalent for ARIMA objects, please? When I