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

Description Usage Arguments Value

View source: R/matrices.R

Description

S3 method for converting a CaliperMatrix into a data.frame

Usage

1
2
## 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.


dkyleward/caliperR documentation built on Dec. 31, 2021, 7:11 p.m.