Skip to content

cxli233/Online_R_learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 

Repository files navigation

Online_R_learning

Online R learning project for advanced undergrads during the COVID-19 pandemic

author: Chenxin Li, Grad student Department of Plant Biology, UC Davis [email protected]

Content

This repository has 12 activities:

  1. Data wrangling with dplyr and tidyr

  2. Formatting ggplots – faceting, scales, guides, and themes

  3. Design custom palette in R

  4. One-way ANOVA and the compact letter display

  5. What to do when ANOVA assumption fails

  6. Randomized block design ANOVA

  7. Multifactorial deign ANOVA and interactions

  8. Repeated measures ANOVA

  9. Split field and nested experimental design

  10. Correlation and linear regression

  11. Polynomial curve fitting

  12. Logistic regression

  13. Proportions, contingency tables and enrichment

This first three units focus on how to tidy data and 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” directory to whichever you like on your machine).
  3. Open RStudio and create a new project, setting “Online_R_learning” as the working directory.
  4. Run .Rmd files under the /R_codes folder.