All xts objects should have a dim attribute, but it would be nice if rbind.xts() did not throw an obscure error on a malformed xts object.
R$ require(xts)
e <- structure(0.1, class = c("xts", "zoo"),
index = structure(581910048, tzone = "UTC", tclass = "Date"))
rbind(e, e)
## Error in rbind(deparse.level, ...) :
## INTEGER() can only be applied to a 'integer', not a 'NULL'
All xts objects should have a
dim
attribute, but it would be nice ifrbind.xts()
did not throw an obscure error on a malformed xts object.