Re: [R] stl function

2010-07-09 Thread kateg
Hi there, I tried the code that was sent. Thanks a lot. It doesn't seem to work. Here is what I'm working with... inc<-ts(incdat[,2], start=1968.000, freq=12) par(mfrow=c(1,2)) plot(stl(log(inc), s.window="periodic")) -- View this message in context: http://r.789695.n4.nabble.com/stl-fun

Re: [R] stl function

2010-07-09 Thread Achim Zeileis
On Fri, 9 Jul 2010, kateg wrote: Hi all, I'm working on decomposition and comparison of several time series. I'm interested in extracting the trend components for each time series using the stl function and overlaying them on one another. I'm not sure how to plot the trend function alone and

[R] stl function

2010-07-09 Thread kateg
Hi all, I'm working on decomposition and comparison of several time series. I'm interested in extracting the trend components for each time series using the stl function and overlaying them on one another. I'm not sure how to plot the trend function alone and to do the overlay using some kind