Programming Tutorials
Summary
A fellow grad student and I are developing some material to help upper-level undergrad and first year graduate students learn the basics of programming in R and Python. These are very informal, hands-on tutorial sessions meant to take place over the course of about 10 weeks (5 for R and 5 for Python). I’m leading the R sessions. You can check out our tutorial website here. The tutorials and all related material are freely available to use and distribute. Here’s the syllabus for the R tutorials to get a rough sense of what is covered:
Syllabus
01: Intro to R
- Tour of Rstudio
- Simple operations (R as a calculator)
- Data types
- Introduction to functions
- Reading in data
- Basic plotting
02: Basic data wrangling
- Data exploration and formatting
- Subsetting and indexing
- Packages
- Working with date/time
- Customizing and saving plots
- R data files
03: Reporting with Rmarkdown
- Overview of Rmarkdown
- Writing Rmarkdown reports in Rstudio
- Rendering html, pdf, and word documents
04: Loops, conditions, and custom functions
- Introduction to logical statements (e.g., if,else,etc.)
- Introduction to for loops
- Writing and calling custom functions
05: Project management
- Best practices
- File organization
- Documentation
- Workflow
- Version control with Git (and GitHub)