Description Usage Arguments Value
From an MCMC chain produced by run_MCMC
, find the row with the highest log likelihood. Return the parameters (excluding the first and last columns, which are sampno and lnlike respectively) that give the highest likelihood.
1 | get_best_pars(chain)
|
chain |
the MCMC chain as saved by |
a named vector of model parameters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.