Lecture 11

Overview

  • Define functions and their purposes
  • Understand the difference between built-in and user-written functions
  • Learn the syntax of user-written functions
  • Practice writing functions in R

Readings

Class materials

Run the code below in your console to download today’s in-class exercises: usethis::use_course("css-materials/functions")