getPosteriorMode: Function to get mode from a posterior distribution
Description
This function is a wrapper of hdr, it returns one mode
(if receives a vector), otherwise it returns a list of modes (if receives a
list of vectors). If receives an mcmc object it returns the marginal
parameter mode using Kernel density estimation
(posterior.mode).
Usage
getPosteriorMode(df = NULL, round = 3)
Value
a vector or a list of modes
Arguments
df
data frame, list or vector with posterior distribution(s).