direct_effects_create: Create direct effects

direct_effects_createR Documentation

Create direct effects

Description

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_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)

iotables documentation built on Sept. 24, 2022, 5:05 p.m.