Programming in R for Environmental Scientists (SSC298)

Example code in the R programming languageIn spring 2024, I taught a class on programming in R for roughly 35 undergrads and grad students. The course was inspired by a common skill gap in our field: undergraduates in the environmental sciences are rarely taught to program outside of copy-paste examples in discussion sections, but they're expected to know how to independently analyze their own data in graduate school. Given that, the class focused on providing students with the tools they need to write their own code from scratch and analyze others' code, with a particular focus on data analysis and modelling workflows common to the environmental sciences.