Numeric heights are scaled to 1 and treated as proportions of the table height in HTML, or of the text height (\\textheight) in LaTeX. Character row heights must be valid CSS or LaTeX dimensions.

row_height(ht)
row_height(ht) <- value
set_row_height(ht, row, value)

Arguments

ht

A huxtable.

row

A row specifier. See rowspecs for details.

value

Numeric or character vector.. Set to NA to reset to the default, which is NA.

Value

row_height() returns the row_height property. set_row_height() returns the modified huxtable.

See also

Other table measurements: col_width(), height(), width()

Examples

row_height(jams) <- c(.4, .2, .2, .2) row_height(jams)
#> 1 1.1 2 3 #> 0.4 0.2 0.2 0.2