as.matrix.tabular: Convert tabular object to matrix
Description
Convert a tabular object to a matrix of the strings that would print, or a matrix of values.
Usage
## S3 method for class 'tabular':
as.matrix(x, format = TRUE,
rowLabels = TRUE, colLabels = TRUE, justification = "n", ...)
Arguments
Value
A matrix.
Details
If format=TRUE, then a matrix of formatted strings is produced. If not, then
the format argument is assumed to be a function (or name of a function passed as
a character vector) to convert the list-mode matrix to another mode, e.g. as.numeric.