as.interval.numeric.Rd
The length of the numeric vector must be even, representing pairs of minimum and maximum values.
# S3 method for class 'numeric'
as.interval(x)
An interval object constructed from the numeric vector.
as.interval(1:6)
#> , , 1
#>
#> min max
#> [1,] 1 2
#>
#> , , 2
#>
#> min max
#> [1,] 3 4
#>
#> , , 3
#>
#> min max
#> [1,] 5 6
#>
#> Available components:
#> [1] "inter" "class"