I was reading the zoo FAQs, and came across something that I found surprising.
A "zoo" object may be (1) a numeric vector, (2) a numeric matrix or (3) a factor but may not contain both a numeric vector and factor.
Is it unreasonable to expect this to hold? And what are the reasons that this cannot be implemented in zoo
? Basically, I would like to think of a zoo
object as a dataframe with time ordering.