Skip to contents

Create coefficients from supplementary data.

Usage

output_coefficients_create(data_table, output)

Arguments

data_table

A matrix or vector that should have a key column.

output

An output vector created with output_get.

Examples

emissions_de <- germany_airpol[, -3] 
emissions_de <- vector_transpose_wider( names_from = "iotables_col", values_from = "value")
#> Error in vector_transpose_wider(names_from = "iotables_col", values_from = "value"): argument "data_table" is missing, with no default
output_bp <- output_get (iotable_get())
output_coefficients_create (emissions_de, output_bp)
#> Error: in output_coefficients_create(data_table, output): data_table and output have no common columns.