Displaying 1 result from an estimated 1 matches for "floornot".
2007 Apr 24
1
time series problem
...5 4/16/2007 363.5
6 4/17/2007 368.7
7 4/18/2007 354.7
8 4/19/2007 368.8
9 4/20/2007 367.1
10 ... ...
and trying to convert it to time series using:
> t=strptime(comm[1,1],"%m/%d/%Y")
> x=ts(comm, start=as.POSIXct(t))
Error in Math.difftime((end - start) * frequency + 1.01) :
floornot defined for "difftime" objects
Definitely I do something wrong but I can't find what is it!
Can anyone help me with this?
Thanks.
Tomas