Skip to contents

Create a Leontieff 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: leontieff_inverse_create.

Usage

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 Leontieff 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(), leontieff_inverse_create()

Examples

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