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


joliencremers/bpnreg documentation built on Nov. 9, 2023, 4:55 a.m.