estMode: Estimate Mode of Posterior Distribution

View source: R/estMode.R

estModeR Documentation

Estimate Mode of Posterior Distribution

Description

Estimates the mode of the posterior, by calculating the density of posterior samples and choosing x-value with the maximum y-value.

Usage

estMode(x, na.rm = F)

Arguments

x

numeric vector

Author(s)

Kevin See

Examples

estMode(rgamma(1000, 5, 1/6))

mackerman44/DABOM documentation built on April 3, 2024, 6:51 a.m.