[R] Problem with merging two zoo objects

Gabor Grothendieck ggrothendieck at gmail.com
Fri Oct 15 23:03:56 CEST 2010


On Fri, Oct 15, 2010 at 4:27 PM, Megh <megh700004 at yahoo.com> wrote:
>
> Thanks Gabor for pointing to my old version. However I got one more question
> why the argument tz="" is sitting there? As you are not passing any explicit

It would otherwise assume "Date" class.

> str(read.zoo(file="dal1.csv", header=TRUE, sep=",", format = "%m/%d/%Y %H:%M:%S", aggregate = mean))
‘zoo’ series from 2010-10-15 to 2010-10-15
  Data: num [1, 1:4] 73.7 73.7 73.7 73.7
 - attr(*, "dimnames")=List of 2
  ..$ : chr "2010-10-15"
  ..$ : chr [1:4] "data.open" "data.high" "data.low" "data.close"
  Index: Class 'Date'  num 14897  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<


-- 
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com



More information about the R-help mailing list