Last chance! 50% off unlimited learning
Sale ends in
row_height(ht)
row_height(ht) <- value
set_row_height(ht, row, value)
rowspecs
for details.row_height
, the row_height
attribute.
For set_row_height
, the ht
object.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).col_width
ht <- huxtable(a = 1:3, b = 1:3)
row_height(ht) <- c(.2, .1, .1)
row_height(ht)
Run the code above in your browser using DataLab