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 ______________________________________________ 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.