leontief_matrix_create: Create a Leontief matrix

leontief_matrix_createR Documentation

Create a Leontief matrix

Description

Create a Leontief matrix from technology matrix after some basic error handling. Most likely you will need this function as a step to invoke the function to create its inverse: leontief_inverse_create.

Usage

leontief_matrix_create(technology_coefficients_matrix)

leontieff_matrix_create(technology_coefficients_matrix)

Arguments

technology_coefficients_matrix

A technology coefficient matrix created by the input_coefficient_matrix_create or output_coefficient_matrix_create.

Value

A Leontief matrix of data.frame class. The column names are ordered, and the row names are in the first, auxiliary metadata column.

See Also

Other analytic object functions: ghosh_inverse_create(), input_flow_get(), leontief_inverse_create()

Examples

tm <- input_flow_get ( 
  data_table = iotable_get(), 
  households = FALSE)
L <- leontief_matrix_create( technology_coefficients_matrix = tm )

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