Reproducibility for the Rest of Us
Writing Functions for Repeated Tasks
This lesson is called Writing Functions for Repeated Tasks, part of the Reproducibility for the Rest of Us course. This lesson is called Writing Functions for Repeated Tasks, part of the Reproducibility for the Rest of Us course.
Transcript
Click on the transcript to go to that point in the video. Please note that transcripts are auto generated and may contain minor inaccuracies.
Your Turn
In the unformatted-r-code.R
file, replace the recoding of the POLICY_
variables using a function to add labels and one of the mutate options shown here
Learn More
Creating Functions by Software Carpentry
Functions chapter from R for Data Science
Have any questions? Put them below and we will help you out!
Course Content
12 Lessons
1
Welcome to Reproducibility for the Rest of Us
05:07
2
Reproducibility for the Rest of Us Course Logistics
03:23
3
Using Space Wisely
05:50
4
Naming All the Things
11:19
5
Using Function Arguments
13:06
6
Prologs & Annotation
15:22
7
Using Seed Values
04:46
8
Writing Functions for Repeated Tasks
03:22
9
Literate Programming with Quarto
48:35
10
Embedding Files to Improve Reproducibility
05:38
11
Managing Project Files for Reproducibility
08:55
12
Wrapping Up Reproducibility for the Rest of Us
You need to be signed-in to comment on this post. Login.