Learn R Programming

huxtable (version 5.5.7)

row_height: Set the height of table rows

Description

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.

Usage

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

Value

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

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.

See Also

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

Examples

Run this code

row_height(jams) <-  c(.4, .2, .2, .2)
row_height(jams)

Run the code above in your browser using DataLab