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))

BiomarkABS/DABOM documentation built on June 2, 2025, 3:18 a.m.