Online R learning for applied statistics
- Author: Chenxin Li, Ph.D., Assistant Research Scientist at Department of Crop & Soil Sciences and Center for Applied Genetic Technologies, UGA
- Contact: [email protected] | @ChenxinLi2 | @chenxinli2.bsky.social
Required software:
- R: R Download
- RStudio: RStudio Download
- rmarkdown can be installed using the intall packages interface in RStudio
Interested in data visualization? The data visualization module now has its own repository!
This repository has 14 activities:
- Very basics of R coding
- Data wrangling with dplyr and tidyr
- Formatting ggplots – faceting, scales, guides, and themes
- Design custom palette in R
- One-way ANOVA and the compact letter display
- What to do when ANOVA assumption fails
- Randomized block design ANOVA
- Multifactorial deign ANOVA and interactions
- Repeated measures ANOVA
- Split field and nested experimental design
- Correlation and linear regression
- Polynomial curve fitting
- Logistic regression
- 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.
- Clone the repository to your machine by downloading the zip file
- Unzip (and move the “Online_R_learning-master” folder to whichever folder you like on your machine).
- Open RStudio
- Open .Rmd files under the R_codes folder
- Enjoy!