Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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)

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)

huxtable

Easily Create and Style Tables for LaTeX, HTML and Other Formats

v5.3.0
MIT + file LICENSE
Authors
David Hugh-Jones [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.