new_hdr {distributional}R Documentation

Construct hdr intervals

Description

Construct hdr intervals

Usage

new_hdr(
  lower = list_of(.ptype = double()),
  upper = list_of(.ptype = double()),
  size = double()
)

Arguments

lower, upper

A list of numeric vectors specifying the region's lower and upper bounds.

size

A numeric vector specifying the coverage size of the region.

Value

A "hdr" vector

Author(s)

Mitchell O'Hara-Wild

Examples


new_hdr(lower = list(1, c(3,6)), upper = list(10, c(5, 8)), size = c(80, 95))


[Package distributional version 0.4.0 Index]