output_coefficient_matrix_create: Create an output coefficient matrix

output_coefficient_matrix_createR Documentation

Create an output coefficient matrix

Description

Create an output coefficient matrix from the input flow matrix or a symmetric input-output table.

Usage

output_coefficient_matrix_create(data_table, total = "tfu", digits = NULL)

Arguments

data_table

A symmetric input-output table, a use table, a margins or tax table retrieved by the iotable_get. In case you use type="tfu" you need to input a full iotable, create by the iotable_get, because the final demand column is in the second quadrant of the IOT.

total

The output='total' (or CPA_TOTAL, depending on the names in your table, default) returns the output coefficients for products (intermediates) while the final_demand returns output coefficients for final demand. See Eurostat Manual of Supply, Use and Input-Output Tables p495 and p507.

digits

An integer showing the precision of the technology matrix in digits. Default is NULL when no rounding is applied.

Details

The output coefficients may be interpreted as the market shares of products in total output. If there are zero values in present, they will be changed to 0.000001 and you will get a warning. Some analytical equations cannot be solved with zero elements. You either have faulty input data, or you have to use some sort of data modification to carry on your analysis.

Value

An output coefficient matrix of data.frame class. The column names are ordered, and the row names are in the first, auxiliary metadata column.

Examples

data_table <- iotable_get() 

output_coefficient_matrix_create (data_table = data_table, 
                                  total = 'tfu',
                                  digits = 4)

rOpenGov/iotables documentation built on Jan. 26, 2024, 3:06 a.m.