Learn R Programming

TableContainer (version 1.0.0)

as.matrix,TableContainer-method: Data Conversion

Description

Data Conversion

Usage

# S4 method for TableContainer
as.matrix(x)

# S4 method for TableContainer as.data.frame(x, row.names = NULL, optional = FALSE, ...)

Value

as.matrix: A matrix representation of the TableContainer object.

as.data.frame: A data frame representation of the TableContainer object.

Arguments

x

A TableContainer object.

row.names

NULL or a character vector giving the row names for the data frame. Missing values are not allowed. See base::data.frame for more details.

optional

Logical. If TRUE, setting row names is optional. See base::data.frame for more details.

...

additional arguments