HPDinterval {RGAP} | R Documentation |
Computes the approximate highest posterior density interval (HPDI).
Description
Computes the approximate highest posterior density interval (HPDI).
Usage
HPDinterval(x, prob = 0.95)
Arguments
x |
A |
prob |
The probability mass of the interval, a scalar between zero and one. |
[Package RGAP version 0.1.1 Index]