huxtable (version 0.3.1)

height: Table height

Description

Functions to get or set the table-level table height property of a huxtable.

Usage

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

Arguments

ht

A huxtable.

value

A length-one vector. If numeric, it is treated as a proportion of the containing block height for HTML, or of text height (\textheight) for LaTeX. If character, it must be a valid CSS or LaTeX width. Set to NA for the default, which is to leave height unset.

Value

For height, the height attribute. For set_height, the ht object.

See Also

Other table measurements: width

Examples

Run this code
# NOT RUN {
ht <- huxtable(a = 1:3, b = 1:3)
height(ht) <-  0.4
height(ht)

# }

Run the code above in your browser using DataCamp Workspace