[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.5182338, 4.897617]95 [ 0.2061071, 4.352388]95 [ 1.6394537, 4.626746]95
#>  [4] [-1.5647347, 5.083347]95 [ 0.5115899, 5.917216]95 [-1.5396614, 4.741047]95
#>  [7] [ 0.3627956, 5.677026]95 [ 0.7707359, 4.579899]95 [-1.2889862, 6.047205]95
#> [10] [-0.7131944, 3.453424]95