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
You can try:
CET$year <- format(CET[,1], "%Y") # year CET$month <- format(CET[,1], "%m") # month CET$day <- format(CET[,1], "%d") # day