Skip to content
Prev 371372 / 398506 Next

require help

Do you really need to convert your data to time series/xts/zoo? I don?t know you try what kind of an analysis but perhaps you don?t have to.
If you really have to convert to xts/zoo, why don?t yo set each year to first day of January and use it as is? For instance,

index, cnsm, incm, wlth
1980-01-01, 174, 53.4, 60.3
1981-01-01, 175, 53.7, 60.5
1982-01-01, 175, 53.5, 60.2
?..