View source: R/tbl-format-setup.R
new_tbl_format_setup | R Documentation |
The object returned from the default method of tbl_format_setup()
is an object with a "class"
attribute and the elements described in the
"Parameters" section.
Named elements can be added to such objects without affecting the behavior. Do not modify existing elements.
new_tbl_format_setup(
width,
tbl_sum,
x = NULL,
df = NULL,
body = NULL,
rows_missing = NULL,
rows_total = NULL,
extra_cols = NULL,
extra_cols_total = NULL,
max_footer_lines = NULL,
abbrev_cols = NULL
)
width |
The |
tbl_sum |
A named character vector, as returned from |
x |
The input object unchanged. |
df |
A data frame representation of the intended output, trimmed to the desired number of rows. |
body |
A character vector with the formatted body, one element per line, |
rows_missing |
The number of rows not shown from the body,
|
rows_total |
The total number of rows in the data,
|
extra_cols |
Columns that did not fit into the body, as a character vector of formatted column names and types. |
extra_cols_total |
The total number of columns, may be larger than
|
max_footer_lines |
The maximum number of lines in the footer. |
abbrev_cols |
Formatted names of the columns that are shown abbreviated in the body. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.