Given an MCMC chain, returns the parameters at the specified index

get_index_pars(chain, index)

Arguments

chain

the MCMC chain

index

the index

Value

a named vector of the best parameters

See also

Other mcmc_diagnostics: get_best_pars()

Examples

if (FALSE) { mcmc_chains <- load_theta_chains() pars <- get_index_pars(mcmc_chains$chain, 1000) }