Arbitrary rows and columns can be headers: they do not have to be at the top or left of the table.

header_cols(ht)

set_header_rows(ht, row, value)

## Arguments

ht A huxtable. A col specifier. See rowspecs for details. Logical vector. Set to NA to reset to the default, which is FALSE. A row specifier. See rowspecs for details.

## Value

header_cols() returns the header_cols property. set_header_cols() returns the modified huxtable.

## 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.

## Examples