a_to_q: Conversion from annual to quarterly

View source: R/ar_conversion.R

a_to_qR Documentation

Conversion from annual to quarterly

Description

Based on the td function in the tempdisagg package. The Denton-Cholette method is in the documentation as a good default method if you don't have an indicator series. The type of conversion, or type, needs to be defined. It can be used with conversion "sum", "average", "first" or "last".

Usage

a_to_q(x, type)

Arguments

type

"sum", "average", "first" or "last".

Details

This is used in the a_to_q_xts function.


aranryan/arlodr documentation built on Jan. 21, 2025, 2:11 p.m.