Programming and statistical modelling in R
Home
Lectures
Exercises
Links and Resources
Exercises
Project organization and workflow – exercises
Day 0
Understanding how R deals with the current working directory, practice using relative paths in R input and output, and testing out the
here
package for managing file paths in a project
Dynamic documents – exercises
Day 1, A
Using rmarkdown and quarto to create reproducible and dynamic documents for reporting statistical analyses
Data structures – exercises
Day 1, B
Understanding basic data structures in R, including vectors, arrays, lists, and data frames
Flow control and loops – exercises
Day 2, A
Understanding conditional and repeated execution of R expressions
Functions – exercises
Day 2, B
Understanding how to create and use your own functions
Dates and character strings – exercises
Day 3, A
Understanding the pitfalls of dealing with dates, times, and manipulating strings with regular expressions
Tidying and reshaping – exercises
Day 3, B
Practice manipulating data by tidying and reshaping
Data visualization – exercises
Day 4, C
Understanding how R creates images with base graphics and ggplot2, practice using ggplot2 to customize figures, and practice creating reusable tools for plotting
No matching items