Resources
Videos
Check out my Intro to R Youtube Channel! These feature lessons from courses I teach through National Institutes of Health and Johns Hopkins University.
Getting started
- R reference card
- R introductory guide
- R jargon
- R terminology
- What is the Tidyverse/what packages are in it?
- Where do package names come from?
- Lawlor et al. 2022: Ten simple rules for teaching yourself R
Troubleshooting guides
Keyboard shortcuts
- RStudio shortcuts can be found here.
Extra help
Data importing
- Video on data import
- Video for PC users who want to see how to move files around (especially from downloads)
- Video for Mac users who want to see how to move files around (especially from downloads)
- Extra information about file paths
Joining datasets
Plotting data
ggplot2gallery - See what is possible withggplot2to create graphs in Rggplot2theme cheatsheet- Visualization best practices
- Guide on when to use which plot
- Guide to building up a
ggplot2figure
Statistics
- Guide on when to use what stats test
- Modeling 101
- Common statistical tests are linear models (why understanding linear models will get you far!)
- Interpreting GLM output (e.g., deviance)
Courses & Conferences
Online Courses and Resources
- Tidyverse Skills for Data Science Book (a great next step to learn more about the tidyverse, some modeling, and machine learning)
- Tidyverse Skills for Data Science Course (same content with quizzes, can get certificate with $)
- Open Case Studies
(resource for specific public health cases with statistical implementation and interpretation - a great next step for learning more about stats and wrangling!) - R for Data Science (great general information)
- R for Applied Epidemiology (Similar general introductory course)
- R basics chapter of Introduction to Data Science by Rafael A. Irizarry(great general information)
- Dataquest (general interactive resource)
- Quick R Guide (nice free general resource)
- Introduction to Reproducibility
- Advanced Reproducibility
R Conferences
- The RStudio/Posit conference has lots of useful workshops!
- useR! — International R User Conference information can be found here.
R for Stata, SPSS, and SAS files
- The Haven package
(This package is super useful for reading and writing files so that they are compatible across Stata, SPSS, SAS, and R) - R vs Stata
(See page 505) - R <-> SAS Cheatsheet
- SAS to R Converter
- You might also find large language models like ChatGPT useful for code conversion. Be sure to check the output because AI makes mistakes!