[Stable]

Class constructor function to help with manually creating hilo interval objects.

new_hilo(lower = double(), upper = double(), size = double())

Arguments

lower, upper

A numeric vector of values for lower and upper limits.

size

Size of the interval between [0, 100].

Value

A "hilo" vector

Author

Earo Wang & Mitchell O'Hara-Wild

Examples

new_hilo(lower = rnorm(10), upper = rnorm(10) + 5, size = 95)
#> <hilo[10]>
#>  [1] [ 0.3621271, 3.954434]95 [ 0.1056898, 3.631367]95 [-0.1319562, 4.492635]95
#>  [4] [ 1.0678502, 5.142760]95 [ 0.9252625, 4.477425]95 [ 1.3238511, 4.781721]95
#>  [7] [ 1.0342216, 3.801170]95 [ 0.1478876, 5.287386]95 [ 0.3357230, 6.096737]95
#> [10] [-0.6446110, 4.305535]95