Hi, r-helpers,

does anybody know how to get the MAP estimator?

I have a dataframe (nrow=10,000, ncol=24) with 24 parameters. It is a

sample from MCMC simulation. which function can generate the MAP estimator

for each of the 24 parameters.

Many thanks in advance,

Bin