Construct a setup object for formattingSource:
The object returned from the default method of
is an object with a
"class" attribute and the elements described in the
Named elements can be added to such objects without affecting the behavior. Do not modify existing elements.
new_tbl_format_setup( x, df, width, tbl_sum, body, rows_missing, rows_total, extra_cols, extra_cols_total, max_footer_lines, abbrev_cols )
The input object unchanged.
A data frame representation of the intended output, trimmed to the desired number of rows.
A named character vector, as returned from
A character vector with the formatted body, one element per line,
The number of rows not shown from the body,
The total number of rows in the data,
Columns that did not fit into the body, as a character vector of formatted column names and types.
The total number of columns, may be larger than
The maximum number of lines in the footer.
Formatted names of the columns that are shown abbreviated in the body.