
STAT 331 / 531 - Statistical Computing in R
a 4-unit course on working with data in R, writing user-defined functions, and iteration
Course description
These materials accompany the 4-unit, 2-day, hands-on coding course, STAT 331 - Statistical Computing in R, offered through the Bachelors of Science in Statistics.
In this course, students learn how to work with data in R using the {tidyverse} set of package. Specifically, students build proficiency with the {readr}, {readxl}, {ggplot}, {dplyr}, {tidyr}, {forcats}, {lubridate}, {janitor} and {stringr} packages. Students learn to write their own, user-defined functions. The course ends with students exploring how to iterate functions over multiple inputs with the {purrr}package. Throughout the course, students create professional-looking Quarto documents and build proficiency working with GitHub.


When is this taught?
At Cal Poly, this course is taught every quarter. I expect to teach this course at some point in the academic year, so the materials should be updated at least once annually.