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