Free Access Week-  Data Engineering + BI
Data engineering and BI courses are free!
Free AI Access Week from June 2-8

papaja (version 0.1.0.9997)

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.