R package for enhancing kable() tables with pipe syntax, footnotes, headers, and styling options for HTML and LaTeX.
kableExtra extends knitr's kable() function to allow users to customize HTML and LaTeX tables using a piped syntax. It adds features like footnotes, header rows, cell styling, and image rendering without requiring raw code. The package supports both formats and simplifies complex table creation for R users.
Functions are designed to be intuitive and reusable, with unified behavior across HTML and PDF outputs. Users can apply styles, add annotations, and format cells with minimal code, making it ideal for data presentation in reports and publications.
Use the add_footnote() function with the kable output and a vector of footnote labels. You can choose notation style (number, alphabet, symbol, none).
Yes, use add_header_above() with parameters like bold, italic, align, color, and background to customize header appearance.
Use as_image() to render the table as a PNG file, which can be included in R Markdown documents with knitr::include_graphics.