as.matrix {intervals}R Documentation

Extract matrix of endpoints

Description

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

Usage

## S3 method for class 'Intervals':
as.matrix(x, ...)
## S3 method for class 'Intervals_full':
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.13.1 Index]