Software information and conventions
The knitr package (Xie 2014, 2015, 2023b) and the bookdown package (Xie 2023a) were used to compile this text. The R session information is shown below:
## R version 4.3.2 (2023-10-31 ucrt)
## Platform: x86_64-w64-mingw32/x64 (64-bit)
## Running under: Windows 11 x64 (build 22631)
##
## Locale:
## LC_COLLATE=English_United States.utf8
## LC_CTYPE=English_United States.utf8
## LC_MONETARY=English_United States.utf8
## LC_NUMERIC=C
## LC_TIME=English_United States.utf8
##
## Package version:
## base64enc_0.1.3 bookdown_0.37
## bslib_0.6.1 cachem_1.0.8
## cli_3.6.2 compiler_4.3.2
## digest_0.6.33 ellipsis_0.3.2
## evaluate_0.23 fastmap_1.1.1
## fontawesome_0.5.2 fs_1.6.3
## glue_1.6.2 graphics_4.3.2
## grDevices_4.3.2 highr_0.10
## htmltools_0.5.7 jquerylib_0.1.4
## jsonlite_1.8.8 knitr_1.45
## lifecycle_1.0.4 magrittr_2.0.3
## memoise_2.0.1 methods_4.3.2
## mime_0.12 R6_2.5.1
## rappdirs_0.3.3 rlang_1.1.2
## rmarkdown_2.25 rstudioapi_0.15.0
## sass_0.4.8 stats_4.3.2
## stringi_1.8.3 stringr_1.5.1
## tinytex_0.49 tools_4.3.2
## utils_4.3.2 vctrs_0.6.5
## xfun_0.41 yaml_2.3.8
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()
).
References
Xie, Yihui. 2014. “Knitr: A Comprehensive Tool for Reproducible Research in R.” In Implementing Reproducible Computational Research, edited by Victoria Stodden, Friedrich Leisch, and Roger D. Peng. Chapman; Hall/CRC.
———. 2015. Dynamic Documents with R and Knitr. 2nd ed. Boca Raton, Florida: Chapman; Hall/CRC. https://yihui.org/knitr/.
———. 2023a. Bookdown: Authoring Books and Technical Documents with r Markdown. https://github.com/rstudio/bookdown.
———. 2023b. Knitr: A General-Purpose Package for Dynamic Report Generation in r. https://yihui.org/knitr/.