as.data.frame.CaliperMatrix: S3 method for converting a 'CaliperMatrix' into a...

View source: R/matrices.R

as.data.frame.CaliperMatrixR Documentation

S3 method for converting a CaliperMatrix into a data.frame

Description

S3 method for converting a CaliperMatrix into a data.frame

Usage

## S3 method for class 'CaliperMatrix'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)

Arguments

x

CaliperMatrix

row.names

See as.data.frame

optional

See as.data.frame

...

additional arguments passed to as.data.frame

Value

Returns a data.frame with from and to columns along with a column for each core of the matrix. The data.frame respects the current row and column indices.


Caliper-Corporation/caliperR documentation built on May 30, 2024, 2:35 p.m.