Functions to get or set the table-level table position property of a huxtable.
position(ht)
position(ht) <- value
set_position(ht, value)
A huxtable.
A length-one character vector which may be "left", "center", "right", "wrapleft" or "wrapright". Set to NA
to reset to the default, which is
"center"
.
For position
, the position
property.
For set_position
, the modified huxtable.
"wrapleft"
and "wrapright"
position the table to the left or right, and allow text to
wrap around the table.
If your tables are too far to the right under LaTeX, try setting their width()
explicitly.
# NOT RUN {
orig <- position(jams)
position(jams) <- "right"
position(jams)
position(jams) <- orig
# }
Run the code above in your browser using DataLab