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:
::session_info() xfun
## R version 4.2.2 (2022-10-31 ucrt)
## Platform: x86_64-w64-mingw32/x64 (64-bit)
## Running under: Windows 10 x64 (build 19045)
##
## 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.33 bslib_0.4.2
## cachem_1.0.7 cli_3.6.0 compiler_4.2.2
## digest_0.6.31 ellipsis_0.3.2 evaluate_0.20
## fastmap_1.1.0 fs_1.6.1 glue_1.6.2
## graphics_4.2.2 grDevices_4.2.2 highr_0.10
## htmltools_0.5.4 jquerylib_0.1.4 jsonlite_1.8.4
## knitr_1.42 lifecycle_1.0.3 magrittr_2.0.3
## memoise_2.0.1 methods_4.2.2 mime_0.12
## R6_2.5.1 rappdirs_0.3.3 rlang_1.0.6
## rmarkdown_2.20 rstudioapi_0.14 sass_0.4.5
## stats_4.2.2 stringi_1.7.12 stringr_1.5.0
## tinytex_0.44 tools_4.2.2 utils_4.2.2
## vctrs_0.5.2 xfun_0.37 yaml_2.3.7
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://CRAN.R-project.org/package=bookdown.
———. 2023b. Knitr: A General-Purpose Package for Dynamic Report Generation in r. https://yihui.org/knitr/.