as.interval.numeric {COveR} | R Documentation |
The length of the numeric vector must be even, representing pairs of minimum and maximum values.
## S3 method for class 'numeric'
as.interval(x)
x |
A numeric vector where each consecutive pair of values represents an interval. |
An interval object constructed from the numeric vector.
as.interval(1:6)