[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.82847373, 6.434004]95 [ 0.85101679, 4.863298]95
#>  [3] [-0.10085410, 3.170836]95 [-0.52430062, 5.157109]95
#>  [5] [-2.65825551, 4.698970]95 [-0.04371052, 3.591371]95
#>  [7] [-0.50036330, 4.433631]95 [-0.26131322, 6.669167]95
#>  [9] [ 0.97011720, 4.873653]95 [-1.31573290, 6.205623]95