caption_pos

0th

Percentile

Caption position

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

Usage
caption_pos(ht)
caption_pos(ht) <- value
set_caption_pos(ht, value)
Arguments
ht

A huxtable.

value

A length-one character vector, one of 'top', 'bottom', 'topleft', 'topcenter', 'topright', 'bottomleft', 'bottomcenter', 'bottomright', or NA for the default.

Details

If caption_pos is 'top' or 'bottom', then the horizontal position ('left', 'center' or 'right') will be determined by the huxtable's position.

Value

For caption_pos, the caption_pos attribute. For set_caption_pos, the ht object.

See Also

caption

Aliases
  • caption_pos
  • caption_pos<-
  • set_caption_pos
  • caption_pos.huxtable
  • caption_pos<-.huxtable
Examples
# NOT RUN {
ht <- huxtable(a = 1:3, b = 1:3)
caption_pos(ht) <-  'bottom'
caption_pos(ht)

# }
Documentation reproduced from package huxtable, version 1.2.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.