compute_weights | R Documentation |
This function computes weights for linear growth or non-linear level constraints.
compute_weights(tsl_r, tsl_n, idx, pos, neg, weight_type = "growth")
tsl_r |
time series list with real level series |
tsl_n |
time series list with nominal level series |
idx |
index for aggregate |
pos |
sectors to be added |
neg |
sectors to be substracted |
weight_type |
type of weights, either |
A time series list with weights.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.