[R] univariant time series

Samuel Kemp (Comp) sekemp at glam.ac.uk
Wed Jan 14 14:53:10 CET 2004


Hi,

I am trying to use the stl function in the ts package. It requires that 
the data is a univariant time series at the moment my data is in a 
vector. I have coerced it to a time series using....

crimets <- ts(crimeData)

However, this does not work.

Does anyone have any suggestions?

Cheers,

Sam.

p.s. I am fairly new to R so apologies if this is a stupid posting.




More information about the R-help mailing list