conforming_vector_create: Create an Empty Conforming Vector
Description
Create a named vector (in wide format) that conforms to the structure of a
given analytical object, such as a use table, coefficient matrix, or
Leontief matrix. This helps avoid mistakes when manually defining large
vectors (e.g., for 60 × 60 matrices).
Usage
conforming_vector_create(data_table)
Value
A one-row data.frame with the same column names as data_table,
but with all values set to zero.
Arguments
data_table
A use table, coefficient matrix, Leontief matrix, or other
named matrix or data frame.
Details
The empty conforming vector can also be exported to .csv format and used
as a template for importing scenarios from a spreadsheet application.