R/segmentation_helper_functions.R
get_MAP_internal.RdInternal function to be used by a wrapper.
get_MAP_internal(dat, nburn)
| 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. |
A numeric value indicating the iteration after the burn-in phase that holds the MAP estimate.