[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] [ 1.24977062, 4.347669]95 [-1.95674563, 4.022751]95
#>  [3] [ 0.66675609, 4.740063]95 [-0.53693231, 3.446764]95
#>  [5] [ 1.12178686, 4.954747]95 [ 1.39415872, 5.677356]95
#>  [7] [ 0.11220949, 5.536125]95 [ 0.26312335, 5.616873]95
#>  [9] [ 1.00675166, 4.338563]95 [-0.04620091, 6.338587]95