Description Usage Arguments Value
Loads all available MCMC chains from the chosen working directory, allowing the user to specify properties of the return chain
1 2 3 4 5 6 7 8 9 10 | load_mcmc_chains(
location = "",
parTab,
unfixed = TRUE,
thin = 1,
burnin = 1e+05,
multi = TRUE,
chainNo = FALSE,
PTchain = FALSE
)
|
location |
Either the full file path to the MCMC chain containing directory, or a vector of file paths with the MCMC chainsa |
parTab |
the parameter table that was used to solve the model (mainly used to find which were free parameters) |
unfixed |
Boolean, if TRUE, only returns free parameters |
thin |
thin chain by this much |
burnin |
number of iterations to discard |
multi |
if TRUE, looks for chains generated using the multivariate sampler. Otherwise, looks for univariate sampled chains. |
chainNo |
if TRUE, adds the chain number to the MCMC chain as a column |
PTchain |
DEV - if TRUE, looks for chains generated by the parallel tempering algorithm |
a list containing both the MCMC chains appended to each other, and an MCMC list.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.