Computes chain aggregated output gap contributions.
aggregate_gap(
tsl_p,
tsl_t,
tsl_g,
idx,
error_name = "gap_error",
idx_neg = NULL,
previous_year = TRUE
)
A multiple time series object containing the contributions.
time series list with prices
time series list with trends
time series list with gaps
index of aggregate
character string with name for aggregation error
index of negative sub sectors
boolean indicating if previous year prices should be used instead of pervious period prices