The function creates the multipliers (direct + indirect effects).
Arguments
- input_requirements
A matrix or vector created by
input_indicator_create
- Im
A Leontief-inverse created by
leontief_inverse_create
.- multiplier_name
An optional name to be placed in the key column of the multiplier. Defaults to
NULL
.- digits
Rounding digits, defaults to
NULL
, in which case no rounding takes place. Rounding is important if you replicate examples from the literature, rounding differences can add up to visible differences in matrix equations.
Value
A data frame with the vector of multipliers and the an
auxiliary metadata column, containing an automatically given row identifier (for joining with other matrixes)
which can be overruled with setting multiplier_name
.
See also
Other multiplier functions:
multiplier_create()
Examples
nl <- netherlands_2006
input_coeff_nl <- input_coefficient_matrix_create(
data_table = netherlands_2006,
households = FALSE)
compensation_indicator <- input_indicator_create(netherlands_2006, 'compensation_employees')
I_nl <- leontief_inverse_create(input_coeff_nl)
input_multipliers_create(input_requirements = compensation_indicator,
Im = I_nl)
#> prod_na agriculture_group mining_group
#> 11 compensation_employees_indicator 2.465771 2.333343
#> manufacturing_group utilities_group construction_group services_group
#> 11 1.839948 2.372199 1.953034 1.417132