Appendix

This book was written in bookdown, which is an R package built on top of R Markdown (Xie (2016)).

The main packages used in this book were: tidyverse, ggplot2, tibble, tidyr, readr, purrr, dplyr, stringr, forcats, finalfit, bookdown, broom, encryptr, gapminder, GGally, ggfortify, kableExtra, knitr, lme4, lubridate, magrittr, mice, MissMech, patchwork, rmarkdown, scales, survival, and survminer.

R and package versions, sessionInfo():

## R version 3.6.1 (2019-07-05)
## Platform: x86_64-pc-linux-gnu (64-bit)
## Running under: Ubuntu 16.04.6 LTS
## 
## Locale:
##   LC_CTYPE=en_GB.UTF-8       LC_NUMERIC=C              
##   LC_TIME=en_GB.UTF-8        LC_COLLATE=en_GB.UTF-8    
##   LC_MONETARY=en_GB.UTF-8    LC_MESSAGES=en_GB.UTF-8   
##   LC_PAPER=en_GB.UTF-8       LC_NAME=C                 
##   LC_ADDRESS=C               LC_TELEPHONE=C            
##   LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C       
## 
## Package version:
##   bookdown_0.20.2       broom_0.7.0           dplyr_1.0.0          
##   encryptr_0.1.3        finalfit_1.0.2        forcats_0.5.0        
##   gapminder_0.3.0       GGally_2.0.0          ggfortify_0.4.10     
##   ggplot2_3.3.2         kableExtra_1.1.0.9000 knitr_1.29           
##   lme4_1.1.23           lubridate_1.7.9       magrittr_1.5         
##   mice_3.10.0           MissMech_1.0.2        patchwork_1.0.1      
##   purrr_0.3.4           readr_1.3.1           rmarkdown_2.3        
##   scales_1.1.1          stringr_1.4.0         survival_3.2.3       
##   survminer_0.4.7       tibble_3.0.3          tidyr_1.1.0          
##   tidyverse_1.3.0

Bryan, Jennifer. 2017. Gapminder: Data from Gapminder. https://CRAN.R-project.org/package=gapminder.

Harrell, Frank. 2015. Regression Modeling Strategies: With Applications to Linear Models, Logistic and Ordinal Regression, and Survival Analysis. 2nd ed. Springer Series in Statistics. Springer International Publishing. https://doi.org/10.1007/978-3-319-19425-7.

Harrower, Mark, and Cynthia A. Brewer. 2003. “ColorBrewer.org: An Online Tool for Selecting Colour Schemes for Maps.” The Cartographic Journal 40 (1): 27–37. https://doi.org/10.1179/000870403235002042.

Terry M. Therneau, and Patricia M. Grambsch. 2000. Modeling Survival Data: Extending the Cox Model. New York: Springer.

Therneau, Terry M. 2020. A Package for Survival Analysis in R. https://CRAN.R-project.org/package=survival.

Wickham, Hadley. 2016. Ggplot2: Elegant Graphics for Data Analysis. Springer-Verlag New York. https://ggplot2.tidyverse.org.

Wickham, Hadley, Mara Averick, Jennifer Bryan, Winston Chang, Lucy McGowan, Romain François, Garrett Grolemund, et al. 2019. “Welcome to the Tidyverse.” Journal of Open Source Software 4 (43): 1686. https://doi.org/10.21105/joss.01686.

Xie, Yihui. 2016. Bookdown: Authoring Books and Technical Documents with R Markdown. Chapman; Hall/CRC. https://bookdown.org/yihui/bookdown/.

References

Xie, Yihui. 2016. Bookdown: Authoring Books and Technical Documents with R Markdown. Chapman; Hall/CRC. https://bookdown.org/yihui/bookdown/.