1.4 Software information and conventions

The knitr package (Xie 2015) and the bookdown package (Xie 2025) were used to compile this text. Package names and inline code are formatted in a typewriter font (e.g., knitr, lm(Y ~ X)), and function names are followed by parentheses (e.g., lm()).

In the HTML version of this text, shading is used to indicate the following:

# Code and output

Chapter learning objectives

Examples

Notes

References

Xie, Y. 2015. Dynamic Documents with R and Knitr. 2nd ed. Chapman & Hall/CRC Press. http://yihui.org/knitr/.
Xie, Yihui. 2025. Bookdown: Authoring Books and Technical Documents with r Markdown. https://github.com/rstudio/bookdown.