HPDI: HPDI - Stolen from rethinking by R. McElreath

HPDIR Documentation

HPDI - Stolen from rethinking by R. McElreath

Description

HPDI - Stolen from rethinking by R. McElreath

Usage

HPDI(samples, prob = 0.89)

Arguments

samples

A vector of data-points.

prob

A percentile interval.

Value

The higest posterior density interval.

Examples

set.seed(1)
RS = rpois(100, 5) 
HPDI(RS, 0.9)

Ctross/SkewCalc documentation built on March 17, 2024, 2:04 p.m.