[R] stl in library(ts)
Prof Brian D Ripley
ripley at stats.ox.ac.uk
Wed May 16 20:50:13 CEST 2001
On Wed, 16 May 2001, Francisco Cribari wrote:
> I am running R 1.2.2 under Linux. When using the function stl in
> the ts library, how can I save the seasonal component? What I
> would like was something like:
> data.stl <- stl(nottem, "per")
> x <- data.stl$sea
> This what I get:
> > x
It's in the manual ...
An object of class `"stl"' with components
time.series: a multiple time series with columns `seasonal', `trend'
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help