R4Epi hex logo

Welcome to R for Epidemiology!

This electronic book was originally created to accompany my Introduction to R Programming for Epidemiologic Research course at the University of Texas Health Science Center School of Public Health. However, I hope it will be useful to anyone who is interested in R and epidemiology.


This book is currently a work in progress (and probably always will be); however, there are already many people who have played an important role (some unknowingly) in helping develop it thus far. First, I’d like to offer my gratitude to all past, current, and future members of the R Core Team for maintaining this amazing, free software. I’d also like to express my gratitude to everyone at RStudio. You are also developing and giving away some amazing software. In particular, I’d like to acknowledge Garrett Grolemund and Hadley Wickham. Both have had a huge impact on how I use, and teach, R. I’d also like to thank my students for all the feedback they’ve given me while taking my course. In particular, I want to thank Jared Wiegand and Yiqun Wang for their many edits and suggestions.

This electronic textbook was created and published using R, RStudio, the bookdown package, GitHub, and Netlify.