row_height

0th

Percentile

Row heights

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.

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).

Value

For row_height, the row_height attribute. For set_row_height, the ht object.

See Also

Other row/column heights: col_width

Aliases
  • row_height
  • row_height<-
  • set_row_height
  • row_height.huxtable
  • row_height<-.huxtable
Examples
# NOT RUN {
ht <- huxtable(a = 1:3, b = 1:3)
row_height(ht) <-  c(.2, .1, .1)
row_height(ht)

# }
Documentation reproduced from package huxtable, version 1.2.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.