hmodeci: Find the highest density interval.

View source: R/RcppExports.R

hmodeciR Documentation

Find the highest density interval.

Description

Find the highest density interval.

Usage

hmodeci(x, cip)

Arguments

x

a sample from which to estimate the interval

cip

bandwidth for the algorithm, ranging from 0 to 1

Value

a vector of length 2 containing the lower and upper bound of the interval.


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