Workshop website for Introduction to R

University of WashingtonInstructor: Charles Lanfear

- Presentation Slides
- .R Script to follow along (Save as to download)
- R and RStudio Installation Instructions
- Enabling compilation of packages
- Panopto Recording of Workshop, recorded Jan 31, 2018 (Requires UW NetID)
- YouTube Recording of Workshop (lower quality but public)

- UW CSSS508: My University of Washington Introduction to R course which forms the basis for this workshop. All content including lecture videos are freely available.
- R for Data Science online textbook by Garrett Grolemund and Hadley Wickham. One of many good R texts available, but importantly it is free and focuses on the
`tidyverse`

collection of R packages which are the modern standard for data manipulation and visualization in R. - Advanced R online textbook by Hadley Wickham. A great source for more in-depth and advanced R programming.
- DataCamp: A source for interactive R tutorials (some free of charge).
`swirl`

: Interactive tutorials inside R.- Useful RStudio cheatsheets on R Markdown, RStudio shortcuts, etc.
- Code style guide for writing functions, etc.
- Good Enough Practices in Scientific Computing: From abstract, “This paper presents a set of good computing practices that every researcher can adopt, regardless of their current level of computational skill.”

- Base R graphics
- Shapes and line types in base R
- Color names (PDF) in base R

`ggplot2`

- Visualization chapter in R for Data Science
- Cookbook for R graph reference
- R graph catalog at UBC

- Data Transformation chapter in R for Data Science
`dplyr`

:`dplyr`

cheatsheets with diagrams to help you remember functions- Introduction to
`dplyr`

- Window functions in
`dplyr`

- Joining data in
`dplyr`

- More advanced joins:
`sqldf`

for easy SQL in R

- Data Structures chapter in Advanced R
- Tidying:
`tidyr`

vignette- Tidy genomics (a walkthough of tidy data preparation and analysis)

- Dates and times:
- Factors:
- Strings
`stringr`

vignette- Blog post explaining
`paste()`

for combining strings - Site for regular expression testing with a good cheatsheet and hover explanations

- Data import and export:
`readr`

documentation- Column types in readr
- Using
`dput()`

when asking for help `readxl`

and`openxlsx`

packages for Excel