I have zoo objects that look like:
head(obs)
Index pp 1932-01-01 0 1932-01-02 0.2 1932-01-03 0
and I want to split the ind
require(lubridate) maindata1 <- cbind(maindata1, day=day(maindata1$Date), month=month(maindata1$date), year=year(maindata1$date))