get_MAP_internal: Internal function to find the maximum a posteriori (MAP) estimate of the MCMC
chain
Description
Internal function to be used by a wrapper.
Usage
get_MAP_internal(dat, nburn)
Arguments
dat
numeric. A vector of log marginal likelihood values for a given
animal ID.
nburn
numeric. The size of the burn-in phase after which the MAP
estimate will be identified.
Value
A numeric value indicating the iteration after the burn-in phase that
holds the MAP estimate.