This function is highly experimental and will change in the future. In particular, improved functionality for object classes and visualisation tools will be added in a future release.
Computes minimally sized probability intervals highest density regions.
# S3 method for distribution
hdr(x, size = 95, n = 512, ...)
The distribution(s).
The size of the interval (between 0 and 100).
The resolution used to estimate the distribution's density.
Additional arguments used by methods.