Learn R Programming

iotables (version 0.4.5)

conforming_vector_create: Create an empty conforming vector

Description

This helper function creates you a named vector that conforms your analytical objects, such as the use table, the Leontieff-matrix, etc. With 60x60 matrixes it is easy to make mistakes with manual definition. The empty effects vector can be used in .csv format as a sample to import scenarios from a spreadsheet application.

Usage

conforming_vector_create(data_table)

Arguments

data_table

A use table, Leontieff-matrix, Leontieff-inverse, a coefficient matrix or other named matrix / vector.

Value

A wide-format conforming vector of data frame class, with column names matching the metadata of the data_table.

See Also

Other iotables processing functions: household_column_get(), output_get(), primary_input_get()

Examples

Run this code
# NOT RUN {
de_input_flow <- input_flow_get ( data_table = iotable_get())

conforming_vector_create ( data_table = de_input_flow )
# }

Run the code above in your browser using DataLab