get_best_pars: Get maximum likelihood parameters

Description Usage Arguments Value

View source: R/inference.R

Description

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.

Usage

1

Arguments

chain

the MCMC chain as saved by run_MCMC

Value

a named vector of model parameters


jameshay218/lazymcmc documentation built on Sept. 16, 2021, 12:14 a.m.