The function creates the indirect effects vector.
Arguments
- input_requirements
A matrix or vector created by
input_indicator_create
- inverse
A Leontief-inverse created by
leontief_inverse_create
.- digits
Rounding digits, defaults to
NULL
, in which case no rounding takes place.
Value
A data.frame containing the indirect effects and the necessary metadata to sort them or join them with other matrixes.
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)
direct_effects_create(input_requirements = compensation_indicator,
inverse = I_nl)
#> agriculture_group mining_group
#> 11 "compensation_employees_effect" "0.263460690584793" "0.0987096155950127"
#> manufacturing_group utilities_group construction_group
#> 11 "0.306073391401155" "0.211754725841364" "0.464852252639343"
#> services_group
#> 11 "0.493397111477055"