Learn R Programming

nowcasting (version 0.0.90)

monqua: Monthly to quarterly agregation

Description

It transforsms a monthly time series in a quarterly, selecting the last month to represent the quarter. So its necessary to agregate the original serie before use this function.

Usage

monqua(x)

Arguments

x

Variable in month frequency

Value

The correpondent quarterly transformation or agregation.

Examples

Run this code
# NOT RUN {
# Selecting only last month of matrix time series vintage:
mestri_vintage<-monqua(vintage)

# Selecting only last month of first two columns of matrix time series vintage:
mestri_vintage<-monqua(vintage[,1:2])

# }

Run the code above in your browser using DataLab