View source: R/mcmc_postprocessing.R
postprocess_chain | R Documentation |
more postprocessing of MCMC output
postprocess_chain( chain, parTab, data_df, bind_summary_to_chain_partial, calc_residuals, get_prediction_ci_df, filename, combined_flag )
chain |
data frame containing MCMC chain |
parTab |
data frame of model parameters created by specify_parameters |
bind_summary_to_chain_partial |
closure created by postprocess_for_plotting used to calculate summary statistics and bind them to chain |
calc_residuals |
closure. NULL or function to calculate residuals |
get_prediction_ci_df |
closure. NULL or function to calculate credible intervals for model predictions |
filename |
character vector of length 1: name of .RData file outputted by MCMC |
combined_flag |
logical. INdicates whether this chain is combined from parallel chains that have converged |
data |
data frame of data used for fitting in MCMC |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.