Skip to contents

Create a key column for matching the dimensions of matrixes.

Usage

key_column_create(key_column_name, key_column_values = NULL)

Arguments

key_column_name

The name of the key column.

key_column_values

The value(s) of the key column

Value

A tibble with one column, named key_column_name and with values key_column_values.

Details

This function will likely be used with the creation of coefficients that need to be matched with a matrix that has a key column.

Examples

key_column_create ("iotables_row", c("CO2_multiplier", "CH4_multiplier"))
#> # A tibble: 2 x 1
#>   iotables_row  
#>   <chr>         
#> 1 CO2_multiplier
#> 2 CH4_multiplier