R: Table height

height {huxtable} | R Documentation

## 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` to reset to the default, which is `NA`.

### Value

For `height`, the `height` property. For `set_height`, the `ht` object.

### See Also

Other table measurements: `width`

### Examples

    ht <- huxtable(a = 1:3, b = 1:3)
    height(ht) <-  0.4
    height(ht)

[Package huxtable version 4.2.0 Index]