configure_model: Set up a model configuration

Description Usage Arguments See Also

View source: R/helper_functions.R

Description

Set up a model configuration

Usage

1
2
3
4
5
6
7
configure_model(
  params,
  state,
  carbon_pools_func,
  carbon_fluxes_func,
  name = NULL
)

Arguments

params

data.table containing the following columns: parameter, value, and units.

state

a vector of the intial state values, must be named

carbon_pools_func

a function defining the carbon pools

carbon_fluxes_func

a function defining the carbon fluxes between pools

name

default set to NULL otherwise is a string of the model configuration name.

See Also

Other helper functions: solve_model(), update_params()


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