huxtable (version 0.3.1)

add_footnote: Add a row with a footnote

Description

This adds a single row at the bottom. The first cell contains the footnote; it spans the entire table and has a border above only.

Usage

add_footnote(ht, text, ...)

Arguments

ht

A huxtable.

text

Text for the footnote.

...

Other properties, passed to set_cell_properties for the footnote cell.

Value

The modified huxtable

Examples

Run this code
# 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