aggregate_gap {sectorgap} | R Documentation |
Output gap contributions
Description
Computes chain aggregated output gap contributions.
Usage
aggregate_gap(
tsl_p,
tsl_t,
tsl_g,
idx,
error_name = "gap_error",
idx_neg = NULL,
previous_year = TRUE
)
Arguments
tsl_p |
time series list with prices |
tsl_t |
time series list with trends |
tsl_g |
time series list with gaps |
idx |
index of aggregate |
error_name |
character string with name for aggregation error |
idx_neg |
index of negative sub sectors |
previous_year |
boolean indicating if previous year prices should be used instead of pervious period prices |
Value
A multiple time series object containing the contributions.
[Package sectorgap version 0.1.0 Index]