The function creates the effects.

direct_effects_create(input_requirements, inverse, digits = NULL)

Arguments

input_requirements

A matrix or vector created by input_indicator_create

inverse

A Leontieff-inverse created by leontieff_inverse_create.

digits

Rounding digits, defaults to NULL, in which case no rounding takes place.

Examples

nl <- netherlands_2006 input_coeff_nl <- input_coefficient_matrix_create( data_table = netherlands_2006, households = FALSE)
#> Warning: Parameter return_part='products' was not recognized, returned all data.
compensation_indicator <- input_indicator_create(netherlands_2006, 'compensation_employees') I_nl <- leontieff_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"