get_MAP_internal {bayesmove}R Documentation

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.


[Package bayesmove version 0.2.0 Index]