View source: R/properties-row-col.R
header_cols | R Documentation |
Arbitrary rows and columns can be headers: they do not have to be at the top or left of the table.
header_cols(ht)
header_cols(ht) <- value
set_header_cols(ht, col, value)
header_rows(ht)
header_rows(ht) <- value
set_header_rows(ht, row, value)
ht |
A huxtable. |
value |
Logical vector. Set to |
col |
A column specifier. See rowspecs for details. |
row |
A row specifier. See rowspecs for details. |
By default header rows and columns are not shown differently from other rows, but
you can change this with style_headers()
.
Various themes may set properties on headers. Lastly, headers are treated
differently when restacking.
jams <- set_header_rows(jams, 1, TRUE)
jams <- set_header_cols(jams, 1, TRUE)
style_headers(jams,
bold = TRUE,
text_color = "purple"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.