month2qtr: Monthly to quarterly agregation

Description Usage Arguments Examples

View source: R/month2qtr.R

Description

It transforsms a monthly time series in a quarterly one, selecting the last value of the last month of the quarter to represent it.

Usage

1

Arguments

x

Variable in month frequency

Examples

1
2
3
4
5
# Selecting only last month of matrix time series BRGDP:
month2qtr(BRGDP)

# Vehicle production in the quarter from vehicle production in the month
month2qtr(stats::filter(BRGDP[,3],c(1,1,1),sides=1))

guilbran/nowcasting documentation built on May 17, 2019, 2:09 p.m.