Creating tables in R Markdown

Tutorial learning objectives

  • Learn how to produce nice tables in R Markdown for PDF output

IMPORTANT: This tutorial aims to help you produce nice tables when knitting to PDF. However, because this tutorial is presented in HTML format, some of the output does not look the same as it will in PDF format. These instances are noted.

EXTRA: there is a new package called flextable that, if you’re keen, you are welcome to check out! We don’t cover it here.