height: Set the table height

heightR Documentation

Set the table height

Description

height()`` sets the height of the entire table, while [row_height()] sets the height of individual rows. A numeric height is treated as a proportion of the containing block (HTML) or \textheight' (LaTeX). A character height must be a valid CSS or LaTeX dimension.

Usage

height(ht)
height(ht) <- value
set_height(ht, value)

Arguments

ht

A huxtable.

value

A number or string. Set to NA to reset to the default, which is NA.

Value

height() returns the height property. set_height() returns the modified huxtable.

See Also

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

Examples


height(jams) <-  0.4
height(jams)

huxtable documentation built on Dec. 28, 2022, 1:09 a.m.