
Last chance! 50% off unlimited learning
Sale ends in
Functions to get or set the table-level table label property of a huxtable.
label(ht)
label(ht) <- value
set_label(ht, value)
A huxtable.
A length-one character vector to be used as a table label in LaTeX, or as an ID for the table in HTML. Set to NA
to remove any label.
For label
, the label
attribute.
For set_label
, the ht
object.
# NOT RUN {
ht <- huxtable(a = 1:3, b = 1:3)
label(ht) <- 'tab:mytable'
label(ht)
# }
Run the code above in your browser using DataLab