>>>>> "Samuel" == Samuel Kemp (Comp) <[EMAIL PROTECTED]>
>>>>> on Wed, 14 Jan 2004 13:53:10 +0000 writes:
Samuel> Hi, I am trying to use the stl function in the ts
Samuel> package. It requires that the data is a univariant
Samuel> time series at the moment my data is in a vector. I
Samuel> have coerced it to a time series using....
Samuel> crimets <- ts(crimeData)
Samuel> However, this does not work.
yes, the above usually works IFF 'crimeData' is really a
numeric vector.
Do look at the result of
str(crimeData)
and str(crimets)
In any case ``does not work'' is not informative for us to be of
real help. Did you read the posting guide (mentioned at the end
of every R-help message) ?
Regards,
Martin
______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html