Description Usage Arguments Value
View source: R/analyses.R View source: R/plots.R
Given an MCMC chain, returns the set of best fitting parameters
Given an MCMC chain, finds the row with the highest log likelihood. There must be a column named "lnlike" which is the log likelihood. Will return the vector of all parameters other than "sampno","lnlike" and "strain"
1 2 3 | get_best_pars(chain)
get_best_pars(chain)
|
chain |
the MCMC chain |
chain |
the MCMC chain |
a name vector of the best parameters
a named vector of parameters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.