[R] stl in library(ts)

Francisco Cribari cribari at de.ufpe.br
Wed May 16 19:12:54 CEST 2001


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: 

library(ts) 
data(nottem) 
data.stl <- stl(nottem, "per")
x <- data.stl$sea

This what I get: 

> x
NULL  

I would, however, like to store in x the seasonal component. 

Thanks in advance. Francisco. 

--
Francisco Cribari-Neto               voice: +55-81-32718420
Departamento de Estatistica          fax:   +55-81-32718422
Universidade Federal de Pernambuco   e-mail: cribari at de.ufpe.br
Recife/PE, 50740-540, Brazil         http://www.de.ufpe.br/~cribari
           (o_                    
 (o_  (o_  //\   Linux is user-friendly.  It's just not idiot-friendly.
 (/)_ (/)_ V_/_               


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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 mailing list