papaja (version 0.1.0.9842)

hd_int: Highest density interval

Description

Calculates the highest density interval of a vector of values

Usage

hd_int(x, level = 0.95)

Arguments

x

Numeric. A vector of observations.

level

Numeric. Defines the width of the interval. Defaults to 95% highest density intervals.