get_index_pars | R Documentation |
Given an MCMC chain, returns the parameters at the specified index
get_index_pars(chain, samp_no = NULL, index = NULL, chain_no = NULL)
chain |
the MCMC chain |
samp_no |
the sample number |
index |
if not using 'samp_no', 'index returns the desired row number' |
chain_no |
the chain number to subset |
a named vector of the best parameters
Other mcmc_diagnostics:
get_best_pars()
## Not run:
mcmc_chains <- load_theta_chains()
pars <- get_index_pars(mcmc_chains$chain, index=100)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.