stl function in Splus version 8

KimS

New Member
#1
Has anyone used the stl function in a recent version of SPLUS?

The function 'stl' requires an object of class 'time.series', which has been modified and renamed 'timeSeries' since the function was written. New versions of SPLUS do not recognise the old class time.series.

I have tried changing all instances of 'time.series' in the source code to 'timeSeries', which allows the function to execute. The resulting trend decomposition cannot then be plotted however; use of 'plot.stl' returns the error: 'can't interpret class timeSeries as an S version 2 vector'.

Is there a way around this or do I have to get hold of an old version of SPLUS?

Thank you!