hmode: Estimate the mode by finding the highest posterior density...

View source: R/RcppExports.R

hmodeR Documentation

Estimate the mode by finding the highest posterior density interval

Description

Estimate the mode by finding the highest posterior density interval

Usage

hmode(x, cip)

Arguments

x

a sample from which to estimate the interval

cip

bandwidth for the algorithm, ranging from 0 to 1

Value

a scalar containing the estimate of the mode


bpnreg documentation built on May 29, 2024, 12:35 p.m.