huxtable (version 0.3.1)

position: 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.

Value

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

Details

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

Examples

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

# }

Run the code above in your browser using DataCamp Workspace