matrix_form,listing_df-method {rlistings} | R Documentation |
rtable
to a list of matrices which can be used for outputtingAlthough rtable
s are represented as a tree data structure when outputting the table to ASCII or HTML,
it is useful to map the rtable
to an in-between state with the formatted cells in a matrix form.
## S4 method for signature 'listing_df'
matrix_form(obj, indent_rownames = FALSE, expand_newlines = TRUE)
obj |
( |
indent_rownames |
( |
expand_newlines |
( |
a MatrixPrintForm
object.
lsting <- as_listing(mtcars)
mf <- matrix_form(lsting)