[R] Problem with merging two zoo objects

Megh megh700004 at yahoo.com
Fri Oct 15 20:42:00 CEST 2010


I have compared "dat11" and "x" using str() function, however did not find
drastic difference:


> str(dat11)
‘zoo’ series from 2010-10-15 13:43:54 to 2010-10-15 13:49:51
  Data: num [1:7, 1:4] 73.8 73.8 73.8 73.8 73.8 73.8 73.7 73.8 73.8 73.8 ...
 - attr(*, "dimnames")=List of 2
  ..$ : chr [1:7] "7" "6" "5" "4" ...
  ..$ : chr [1:4] "V2" "V3" "V4" "V5"
  Index:  POSIXlt[1:7], format: "2010-10-15 13:43:54" "2010-10-15 13:44:15"
"2010-10-15 13:45:51" "2010-10-15 13:46:21" "2010-10-15 13:47:27"
"2010-10-15 13:47:54" ...
> str(x)
‘zoo’ series from 2003-02-01 to 2003-02-14
  Data: int [1:5, 1:2] 1 2 3 4 5 6 7 8 9 10
  Index: Class 'Date'  num [1:5] 12084 12086 12090 12092 12097

Thanks,
-- 
View this message in context: http://r.789695.n4.nabble.com/Problem-with-merging-two-zoo-objects-tp2997472p2997510.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list