dot-cubsTa: Adjusts the frequency of cubs input series.

.cubsTaR Documentation

Adjusts the frequency of cubs input series.

Description

Adjusts the frequency of cubs input series.

Usage

.cubsTa(tsObj, conversion, frequency)

Arguments

tsObj

A time series object.

conversion

An appropriate conversion method, i.e., "average" or "sum".

frequency

The frequency of the aggregated time series, i.e., frequency = 4 for quarterly and frequency = 1 for annual.

Details

If frequency == 1, then the values for the latest and the first year are averaged over the existing months/quarters. However, for the latest year, this is only done if the third quarter is available.


RGAP documentation built on Nov. 2, 2023, 6:02 p.m.