[R] how calculate seasonal component & cyclic component of time series?

Arun Kumar Saha arun.kumar.saha at gmail.com
Wed Mar 21 09:38:19 CET 2012


I think you need to pass a time series object, as given in the help
page of decompose() function. From your text file it seems that you
are passing a numerical vector which is missing the key element of
Index as date for any legitimate time series data.
_____________________________________________________

Arun Kumar Saha, FRM
QUANTITATIVE RISK AND HEDGE CONSULTING SPECIALIST
Visit me at: http://in.linkedin.com/in/ArunFRM



More information about the R-help mailing list