Learn R Programming

iotables (version 0.9.4)

input_coefficient_matrix_create: Create an input coefficient matrix

Description

Create an input coefficient matrix from the input flow matrix and the output vector. This is a thin wrapper around coefficient_matrix_create(), with total = "output" and return_part = "products".

Usage

input_coefficient_matrix_create(data_table, households = FALSE, digits = NULL)

Value

A data.frame containing the input coefficient matrix (products × products), with the key (row label) retained as the first column. Any TOTAL rows/columns ("cpa_total", "total") are removed.

Arguments

data_table

A symmetric input–output table, a use table, or margins/tax table retrieved by iotable_get().

households

Logical; include the households column if available. Default FALSE.

digits

Optional integer precision to round the resulting matrix. Default NULL (no rounding).

Details

The input coefficients of production activities may be interpreted as the corresponding cost shares for products and primary inputs in total output. Our terminology follows the Eurostat Manual of Supply, Use and Input–Output Tables. In some sources this is called the technological coefficients matrix.

Examples

Run this code
cm <- input_coefficient_matrix_create(
  iotable_get(source = "germany_1995"),
  digits = 4
)
head(cm)

# Equivalent direct call:
cm2 <- coefficient_matrix_create(
  iotable_get(source = "germany_1995"),
  total = "output",
  return_part = "products",
  digits = 4
)

Run the code above in your browser using DataLab