Re: [R] plot and lines with time series data

2011-04-18 Thread Gabor Grothendieck
On Mon, Apr 18, 2011 at 7:20 AM, Fred wrote: > Dear all, > > I am doing some time series analysis with R now. The problem is, when > I create a time series object using "ts" function, then after fitting > the model, the predicted values cannot be plotted with "ts" object > together using "lines".

Re: [R] plot and lines with time series data

2011-04-18 Thread Fred
Figure it out. Just make predicted value "ts" object as well. On Apr 18, 9:20 pm, Fred wrote: > Dear all, > > I am doing some time series analysis with R now. The problem is, when > I create a time series object using "ts" function, then after fitting > the model, the predicted values cannot be p

[R] plot and lines with time series data

2011-04-18 Thread Fred
Dear all, I am doing some time series analysis with R now. The problem is, when I create a time series object using "ts" function, then after fitting the model, the predicted values cannot be plotted with "ts" object together using "lines". ie. ts.series<-ts(x,start, end) plot(ts.series) lines(pr