matrix_form,listing_df-method | 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,
fontspec = font_spec,
col_gap = 3L
)
obj |
( |
indent_rownames |
( |
expand_newlines |
( |
fontspec |
( |
col_gap |
( |
a formatters::MatrixPrintForm object.
formatters::matrix_form()
lsting <- as_listing(mtcars)
mf <- matrix_form(lsting)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.