as.vector.interval {COveR} | R Documentation |
Converts an interval object to its vector representation.
Description
Converts an interval object to its vector representation.
Usage
## S3 method for class 'interval'
as.vector(x, ...)
Arguments
x |
An interval object to be converted. |
... |
Additional arguments to be passed to as.vector(). |
Value
A numeric vector where each consecutive pair of values represents an interval.
Examples
as.vector(inter_city)
[Package COveR version 1.1.0 Index]