Skip to main content

Section B.10 Key Functions & Commands

The following functions and commands are introduced or reinforced in this chapter to support reproducible reporting and polished output in R Markdown documents.
  • knitr::opts_chunk$set() (knitr)
    • Sets global options for all R code chunks in an R Markdown document.
  • kable() (knitr)
    • Creates clean, well-formatted tables from data frames for display in R Markdown output.