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

View source: R/convert.R

as.vector.intervalR 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)

COveR documentation built on Oct. 30, 2024, 9:28 a.m.