intervals (version 0.15.1)

as.matrix: Extract matrix of endpoints

Description

S3 and S4 methods for extracting the matrix of endpoints from S4 objects.

Usage

# S3 method for Intervals_virtual
as.matrix(x, ...)

# S4 method for Intervals_virtual as.matrix(x, ...)

Arguments

x

"Intervals" or "Intervals_full" objects.

...

Unused, but required by the S3 generic.

Value

A two-column matrix, equivalent to x@.Data or as(x, "matrix").