On 2/11/2009 8:39 AM, doloop wrote:
I am using the stl function to decompose a time series. I want to access the trend data hopefully by placing it into a separate vector. How do I do that?
After you have run the example(stl) code, the three series are the three columns of sts. The trend is sts[,"trend"].
Duncan Murdoch ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.