[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.7206361, 5.013426]95 [ 0.2500805, 4.932671]95 [-1.5182012, 6.678755]95
#>  [4] [ 0.4470079, 4.748543]95 [ 0.9003209, 4.144751]95 [ 0.2598215, 5.029318]95
#>  [7] [ 1.0179657, 4.647911]95 [ 0.6142713, 3.631955]95 [-0.2394080, 5.484613]95
#> [10] [-1.8031493, 4.299623]95