/Online_R_learning

Online R learning for applied statistics

Creative Commons Zero v1.0 UniversalCC0-1.0

Online_R_learning

Online R learning for applied statistics

Release v5: DOI

Required software:

Interested in data visualization? The data visualization module now has its own repository!

Content

This repository has 14 activities:

  1. Very basics of R coding
  2. Data wrangling with dplyr and tidyr
  3. Formatting ggplots – faceting, scales, guides, and themes
  4. Design custom palette in R
  5. One-way ANOVA and the compact letter display
  6. What to do when ANOVA assumption fails
  7. Randomized block design ANOVA
  8. Multifactorial deign ANOVA and interactions
  9. Repeated measures ANOVA
  10. Split field and nested experimental design
  11. Correlation and linear regression
  12. Polynomial curve fitting
  13. Logistic regression
  14. Proportions, contingency tables and enrichment

The first three units focus on how to tidy data and make pretty plots.
Units 4 - 9 focus on ANOVA and Tukey tests.
Units 10 - 12 focus on regression.

Formal math is kept to minimum. The series focus on basic concepts, interpretation and execution in R.
Each unit builds upon the previous. After each unit, there is also an exercise.

Getting started

  1. Clone the repository to your machine by downloading the zip file
  2. Unzip (and move the “Online_R_learning-master” folder to whichever folder you like on your machine).
  3. Open RStudio
  4. Open .Rmd files under the R_codes folder
  5. Enjoy!