huxtable (version 4.5.0)

row_height: Row heights

Description

Functions to get or set the row heights property of huxtable rows.

Usage

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

Arguments

ht

A huxtable.

value

A vector.

row

A row specifier. See rowspecs for details.

Value

For row_height, the row_height property. For set_row_height, the modified huxtable.

Details

If character, value must contain valid CSS or LaTeX lengths. If numeric, in HTML, values are scaled to 1 and treated as proportions of the table height. In LaTeX, they are treated as proportions of the text height (\textheight).

See Also

Other row/column heights: col_width

Examples

Run this code
# NOT RUN {
row_height(jams) <-  c(.2, .1, .1, .1)
row_height(jams)

# }

Run the code above in your browser using DataCamp Workspace