hdr.distribution: Highest density regions of probability distributions

View source: R/distribution.R

hdr.distributionR Documentation

Highest density regions of probability distributions

Description

[Maturing]

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.

Usage

## S3 method for class 'distribution'
hdr(x, size = 95, n = 512, ...)

Arguments

x

The distribution(s).

size

The size of the interval (between 0 and 100).

n

The resolution used to estimate the distribution's density.

...

Additional arguments used by methods.


distributional documentation built on March 31, 2023, 7:12 p.m.