Description Usage Arguments See Also
View source: R/helper_functions.R
Set up a model configuration
1 2 3 4 5 6 7 | configure_model(
params,
state,
carbon_pools_func,
carbon_fluxes_func,
name = NULL
)
|
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. |
Other helper functions:
solve_model()
,
update_params()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.