Skip to contents

The function creates the indirect effects vector.

Usage

indirect_effects_create(input_requirements, inverse, digits = NULL)

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)

indirect_effects_create(input_requirements = compensation_indicator, 
                        inverse = I_nl)
#>                             prod_na agriculture_group mining_group
#> 11 compensation_employees_indicator           2.20231     2.234634
#>    manufacturing_group utilities_group construction_group services_group
#> 11            1.533874        2.160444           1.488182      0.9237348