View source: R/mm_generate_mcmc_file.R
mm_generate_mcmc_file | R Documentation |
Generate the models in inst/models/bayes
mm_generate_mcmc_file(
type = "bayes",
pool_K600 = c("none", "normal", "normal_sdzero", "normal_sdfixed", "linear",
"linear_sdzero", "linear_sdfixed", "binned", "binned_sdzero", "binned_sdfixed"),
err_obs_iid = c(TRUE, FALSE),
err_proc_acor = c(FALSE, TRUE),
err_proc_iid = c(FALSE, TRUE),
err_proc_GPP = c(FALSE, TRUE),
ode_method = c("trapezoid", "euler"),
GPP_fun = c("linlight", "satlight"),
ER_fun = c("constant"),
deficit_src = c("DO_mod", "DO_obs"),
engine = "stan"
)
type |
character. The model type. Options:
|
pool_K600 |
character. [How] should the model pool information among days to get more consistent daily estimates for K600? Options (see Details for more):
|
err_obs_iid |
logical. Should IID observation error be included? If not, the model will be fit to the differences in successive DO measurements, rather than to the DO measurements themselves. |
err_proc_acor |
logical. Should autocorrelated process error (with the autocorrelation term phi fitted) be included? |
err_proc_iid |
logical. Should IID process error be included? |
err_proc_GPP |
logical. Should IID process error in GPP be included? This kind of error occurs only during the day and is used to adjust GPP before passing that adjusted GPP into the dDO/dt equation. The GPP_inst variable is the corrected GPP, and a new variable, GPP_inst_partial, contains the pre-adjustment GPP estimates |
ode_method |
character. The method to use in solving the ordinary differential equation for DO. Options:
|
GPP_fun |
character. Function dictating how gross primary productivity (GPP) varies within each day. Options:
|
ER_fun |
character. Function dictating how ecosystem respiration (ER) varies within each day. Options:
|
deficit_src |
character. From what DO estimate (observed or modeled) should the DO deficit be computed? Options:
|
engine |
character. With which function or software should the model fitting be done?
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.