Skip to contents

The function creates the effects.

Usage

direct_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 direct effects and the necessary metadata to sort them or join them with other matrixes.

See also

Other indicator functions: coefficient_matrix_create(), input_indicator_create()

Examples

nl <- netherlands_2000
#> Error: object 'netherlands_2000' not found

input_coeff_nl <- input_coefficient_matrix_create(
  data_table = netherlands_2000,
  households = FALSE
)
#> Error: object 'netherlands_2000' not found

compensation_indicator <- input_indicator_create(netherlands_2000, "compensation_employees")
#> Error: object 'netherlands_2000' not found

I_nl <- leontief_inverse_create(input_coeff_nl)
#> Error: object 'input_coeff_nl' not found

direct_effects_create(
  input_requirements = compensation_indicator,
  inverse = I_nl
)
#> Error: object 'compensation_indicator' not found