powered by
It transforms a quarterly time series in a monthly one. The values of the quarterly ts are set to the last month of the quarter.
ts
qtr2month(x)
a ts or mts in quarterly frequency
mts
The correpondent monthly transformation.
# NOT RUN { # Selecting the quarterly GDP variable in BRGDP brgdp <- month2qtr(BRGDP[,ncol(BRGDP)]) qtr2month(brgdp) # }
Run the code above in your browser using DataLab