Learn R Programming

COveR (version 1.0.4)

as.vector.interval: Converts an interval object to its vector representation.

Description

Converts an interval object to its vector representation.

Usage

# S3 method for interval
as.vector(x, ...)

Value

A numeric vector where each consecutive pair of values represents an interval.

Arguments

x

An interval object to be converted.

...

Additional arguments to be passed to as.vector().

Examples

Run this code
as.vector(inter_city)

Run the code above in your browser using DataLab