tab_cols.Rd
Form table column names
tab_cols(
cols,
cols_replace = NULL,
cols_rename = NULL,
cols_blank = NULL,
cols_split = NULL,
cols_bold = FALSE,
cols_break = "...",
cols_extra = NULL,
cols_omit = NULL,
...
)
the starting set of table column names
a character vector with the same length as the number of
output table columns; use this to completely replace the names (as opposed
to one by on editing with col_rename
)
a name = value
character vector to translate column names
to table names; ; see also st_rename()
a character vector of column names that will not be printed
in the table header; see also st_blank()
a string that is used to split column labels into tag
(on the left) or name (on the right); if supplied, then col_split
will be
used to remove the tag; for example, a column named x.WT
would be renamed
WT
if cols_split
was set to .
if TRUE
, table column names are rendered with bold font
character sequence to break column names into new lines
a data frame with extra column header information; the data
frame should have the same columns, in the same order as the table data
frame (see data
argument to stable()
); the data frame can have any number
of rows; all of the rows in cols_extra
will be placed between the column
label and the unit (if units
is supplied)
if TRUE
, then column names are suppressed in the table
output along with units; column spanners are retained
not used