update_params: Update a paramter table with new values

Description Usage Arguments Value See Also

View source: R/helper_functions.R

Description

Update a paramter table with new values

Usage

1
update_params(new_params, param_table)

Arguments

new_params

a named vector of parameter values to update the param table.

param_table

data.table containing the following columns: parameter, value, and units, this is the basic parameter table that will be updated with the new values.

Value

updated data.table containing the new parameter values

See Also

Other helper functions: configure_model(), solve_model()

Other parameters: default_params


kdorheim/MEMC documentation built on Jan. 14, 2022, 9:13 a.m.