| matrix_form | R Documentation |
rtable to a list of matrices which can be used for outputtingAlthough rtables 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.
matrix_form(
obj,
indent_rownames = FALSE,
expand_newlines = TRUE,
indent_size = 2,
fontspec = NULL,
col_gap = NULL,
round_type = c("iec", "sas")
)
## S4 method for signature 'MatrixPrintForm'
matrix_form(
obj,
indent_rownames = FALSE,
expand_newlines = TRUE,
indent_size = 2,
fontspec = NULL,
col_gap = NULL,
round_type = c("iec", "sas")
)
obj |
( |
indent_rownames |
( |
expand_newlines |
( |
indent_size |
( |
fontspec |
( |
col_gap |
( |
round_type |
( |
A MatrixPrintForm classed list with an additional nrow_header attribute indicating the
number of pseudo "rows" the column structure defines, with the following elements:
stringsThe content, as it should be printed, of the top-left material, column headers, row
labels, and cell values of tt.
spansThe column-span information for each print-string in the strings matrix.
alignsThe text alignment for each print-string in the strings matrix.
displayWhether each print-string in the strings matrix should be printed or not.
row_infoThe data.frame generated by basic_pagdf().
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.