as.matrix {intervals}R Documentation

Extract matrix of endpoints

Description

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

Usage

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

## S4 method for signature '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").


[Package intervals version 0.15.4 Index]