Methods & Meta-science
Tutorial on Iteration In R
If you're copying and pasting R code, or getting stuck in loops, please come to this hands on tutorial on Iteration and learn how to use the purrr::map_* functions (like the *apply functions in base R, but better!) Some optional background reading: https://r4ds.had.co.nz/iteration.html There are workstations in the lab you can use, or you can bring your own laptop. In the latter case, please make sure to have tidyverse installed.