Learn R Programming

iotables (version 0.9.3)

input_multipliers_create: Create input multipliers

Description

The function creates the multipliers (direct + indirect effects).

Usage

input_multipliers_create(
  input_requirements,
  Im,
  multiplier_name = NULL,
  digits = NULL
)

Value

A data frame with the vector of multipliers and the an auxiliary metadata column, containing an automatically given row identifier (for joining with other matrixes) which can be overruled with setting multiplier_name.

Arguments

input_requirements

A matrix or vector created by input_indicator_create

Im

A Leontief-inverse created by leontief_inverse_create.

multiplier_name

An optional name to be placed in the key column of the multiplier. Defaults to NULL.

digits

Rounding digits, defaults to NULL, in which case no rounding takes place. Rounding is important if you replicate examples from the literature, rounding differences can add up to visible differences in matrix equations.

See Also

Other multiplier functions: multiplier_create()

Examples

Run this code
 
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)

input_multipliers_create(input_requirements = compensation_indicator, 
                        Im = I_nl)

Run the code above in your browser using DataLab