memc_configure | R Documentation |
Set up a model configuration
memc_configure(
params,
state,
name = "unnamed",
DOMuptake = "MM",
POMdecomp = "MM",
MBdecay = "LM"
)
params |
data.table containing the following columns: parameter, value, and units. |
state |
a vector of the initial state values, must be named |
name |
string name of the model configuration, default set to "MEND". |
DOMuptake |
string indicating the dynamics used to model microbial decomposition of DOM, one of the following "MM", "RMM", or "ECA" |
POMdecomp |
string indicating the dynamics used to model microbial decomposition of POM, one of the following "MM", "RMM", "ECA", or "LM" |
MBdecay |
string indicating microbial decay, one of the following ""LM" or "DD" |
memc_single_config object of the name, dynamics, parameters and starting state values
Other helper functions:
memc_update_config()
,
memc_update_params()
,
update_state()
# Modify the MEND model
m <- MEND_config
m_mod <- memc_configure(m$params, m$state, "MEND_modified", POMdecomp = "LM")
summary(m_mod)
memc_solve(m_mod, 0:10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.