Learn R Programming

nowcasting (version 0.1.3)

qtr2month: Quarterly to monthly transformation

Description

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.

Usage

qtr2month(x)

Arguments

x

a ts or mts in quarterly frequency

Value

The correpondent monthly transformation.

Examples

Run this code
# 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