This lesson shows how to use automation in R to improve the reproducibility of research by automating tasks.
Prerequisites
Details for installation are found in the Setup instructions - Installation of programs: -
R-RStudio- Additional files and packages listed in the Setup instructions
| Setup | Dowload files used on the lesson. | |
| 00:00 | Introduction to automation |
What tools will we be using?
How can we use these tools to improve reproducibility? |
| 00:40 | Functions |
What is a function?
How do functions help us with reproducibility? How do I write a function in R? |
| 01:20 | Functions for data |
How can I use base R to import data?
How can I build my own functions to bettwe import data? |
| 02:00 | Functions for figures |
How can I use functions to generate figures
How can I ensure my functions work properly |
| 02:40 | Finish |
The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor.