huxtable (version 0.2.2)

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.

Examples

Run this code

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

Run the code above in your browser using DataCamp Workspace