R: Table position

position {huxtable} | R Documentation

## Table position

### Description

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

### Usage

    position(ht)
    position(ht) <- value
    set_position(ht, value)

### Arguments

`ht` | A huxtable.
`value` | A length-one character vector which may be 'left', 'center', 'right' or `NA`.

### Details

If your tables are too far to the right under LaTeX, try setting their `width` explicitly.

### Value

For `position`, the `position` attribute. For `set_position`, the `ht` object.

### Examples

    ht <- huxtable(a = 1:3, b = 1:3)
    position(ht) <-  'right'
    position(ht)

[Package huxtable version 3.0.0 Index]