Online Program Home
My Program

Abstract Details

Activity Number: 353 - Data Science
Type: Contributed
Date/Time: Tuesday, July 31, 2018 : 10:30 AM to 12:20 PM
Sponsor: Section on Statistical Computing
Abstract #330747
Title: KableExtra: Complex Table Made Easy
Author(s): Hao Zhu* and Timothy Tsai and Thomas G Travison
Companies: Institute for Aging Research and Institute for Aging Research and Institute for Aging Research
Keywords: R; table formatting; rmarkdown; HTML; LaTeX; reproducible research
Abstract:

kableExtra is an R package for easily producing complex HTML/LaTeX tables, which are usually essential in a reproducible research workflow. This package extends the widely-used kable function from knitr and introduces additional functionalities such as striped-row-color or grouped column/row headers. Format specifications, including font face and color, on rows, columns and cells are also supported. The ultimate goal of kableExtra is to help users focus more on content and less on format. By design, this package provides a unified high-level interface to different formatting tools in both HTML and LaTeX but requires little knowledge of the details of either. Therefore, users can customize tables regardless of formats, in a language they are familiar with. In addition, kableExtra adopts the pipe operator (%>%) from the magritter package so users can modify tables step by step using the same logic a person uses when thinking about configuring a table. Comparing with traditional one-for-all table functions, this design is more literal and helps users customize complex tables in an easy way.


Authors who are presenting talks have a * after their name.

Back to the full JSM 2018 program