How this book was made

This book was made using R (R Core Team 2018), and the bookdown package (Xie 2016), based on Markdown syntax, using knitr (Xie 2015). Numerous other R packages were used, including:

  • diagram (Soetaert 2017) for making some diagrams.
  • kableExtra (Zhu 2018) for nicer tables.
  • leaflet (Cheng et al. 2018) for creating the interactive online maps (e.g., Sect. 2.7.1).
  • DT (Xie et al. 2018) for displaying some data tables in the online version.
  • viridis (Garnier et al. 2024) for some colour specifications that make colours easier for those with colour-blindness, and for better greyscale printing.
  • webexercises (Barr and DeBruine 2021) for creating interactive web exercises (i.e., Quick Revision questions).

All of this software is free and open source. Other resources used include:

  • The online quizzes are embedded using H5P iframes.
  • Icons are from iconmonstr, and are freely available.
  • The polling in the online book is provided by Ferendum.
  • The cover for the book was made using a free image with Canva.

References

Barr D, DeBruine L. Webexercises: Create interactive web exercises in ’r markdown’ (formerly ’webex’) [Internet]. 2021. Available from: https://github.com/psyteachr/webexercises.
Cheng J, Karambelkar B, Xie Y. leaflet: Create interactive web maps with the JavaScript ’leaflet’ library [Internet]. 2018. Available from: https://CRAN.R-project.org/package = leaflet.
Garnier S, Ross N, Rudis R, Camargo AP, Sciaini M, Scherer C. viridis(Lite) - colorblind-friendly color maps for r [Internet]. 2024. Available from: https://sjmgarnier.github.io/viridis/.
R Core Team. R: A language and environment for statistical computing [Internet]. Vienna, Austria: R Foundation for Statistical Computing; 2018. Available from: https://www.R-project.org/.
Soetaert K. Diagram: Functions for visualising simple graphs (networks), plotting flow diagrams [Internet]. 2017. Available from: https://CRAN.R-project.org/package=diagram.
Xie Y. Dynamic documents with R and knitr [Internet]. 2nd ed. Boca Raton, Florida: Chapman; Hall/CRC; 2015. Available from: https://yihui.name/knitr/.
Xie Y. Bookdown: Authoring books and technical documents with R markdown [Internet]. Boca Raton, Florida: Chapman; Hall/CRC; 2016. Available from: https://github.com/rstudio/bookdown.
Xie Y, Cheng J, Tan X. DT: A wrapper of the JavaScript library ’DataTables’ [Internet]. 2018. Available from: https://CRAN.R-project.org/package=DT.
Zhu H. kableExtra: Construct complex table with ’kable’ and pipe syntax [Internet]. 2018. Available from: https://CRAN.R-project.org/package=kableExtra.