powered by
This adds a single row at the bottom. The first cell contains the footnote; it spans all table columns and has an optional border above.
add_footnote(ht, text, border = 0.8, ...)
A huxtable.
Text for the footnote.
Width of the footnote's top border. Set to 0 for no border.
Other properties, passed to set_cell_properties() for the footnote cell.
set_cell_properties()
The modified huxtable
# NOT RUN { ht <- hux(a = 1:5, b = 1:5, d = 1:5) ht <- add_footnote(ht, '* this is a footnote') ht # }
Run the code above in your browser using DataLab