Learn R Programming

iotables (version 0.4.5)

input_flow_get: Create a use (input flow) matrix

Description

Select the use table from a symmetric input-output table.

Usage

input_flow_get(data_table, empty_remove = FALSE, households = TRUE)

Arguments

data_table

A symmetric input-output table or use table retrieved by the iotable_get function.

empty_remove

Defaults to TRUE. If you want to keep empty primary input rows, choose FALSE. Empty product/industry rows are always removed to avoid division by zero error in the analytic functions.

households

Defaults to FALSE. If TRUE, the final household expenditure is added to the input flow table.

Value

A data flow matrix in a labelled data frame.

See Also

Other analytic object functions: leontieff_inverse_create(), leontieff_matrix_create()

Examples

Run this code
# NOT RUN {
data_table <- iotable_get()
input_flow <- input_flow_get( data_table = data_table, 
                         empty_remove = FALSE,
                         households = TRUE)

# }

Run the code above in your browser using DataLab