[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.5386382, 5.001828]95 [ 0.5196726, 5.140092]95 [-2.4229113, 4.479401]95
#>  [4] [-0.8062903, 7.365812]95 [-0.4846800, 3.303526]95 [-0.6530773, 5.682586]95
#>  [7] [-0.2937642, 6.361562]95 [-0.2769890, 6.905956]95 [ 0.1364696, 4.327161]95
#> [10] [ 1.0672077, 3.937089]95