Stop repeating yourself: functions and iteration in R// Lecture series "Scientific workflows: Tools and tips" by Dr. Selina Baldauf
Sooner or later every R user hits the same wall: you need to do the same thing many times. Maybe you're running an analysis for each species, reading in every file in a folder, or fitting a model to each treatment group. The usual answer is copy-paste, which is slow and easy to get wrong.
In this hands-on workshop, you'll learn the two skills that solve this:
- Writing your own functions
- Iterating with the purrr package
We will work through practical examples together and you will learn how to take repetitive code of your own and refactor it into a function you apply across many inputs.
Information and Webex link can be found here.
Zeit & Ort
18.06.2026 | 16:00 - 18:00
online on Webex