[R] not sure if this intended behavior in column referencing

Leeds, Mark (IED) Mark.Leeds at morganstanley.com
Tue Nov 14 23:17:13 CET 2006

I made smaller zoo object with one column with the structure below

smooththirtylogbidask<-structure(c(4.77126598671015, 4.77127449545028,
4.771299144447), index = structure(c(1144022520, 1144022580, 
1144022640, 1144022700), class = c("POSIXt", "POSIXct")), class = "zoo")

And then I printed it out 3 different ways as below.


All of them worked in that they printed out the EXACT same correct thing
which tells me that the column reference you
put in is ignored when the object is just one column. I am unsure if
this intended 
general R behavior, intended general zoo behavior or just unintended
behavior but I figured I would send this info out.

This is not an offer (or solicitation of an offer) to buy/se...{{dropped}}

More information about the R-help mailing list