Learn why writing your own functions is useful, how to convert a script into a function, and what order you should include the arguments.
Learn how to set defaults for arguments, how to pass arguments between functions, and how to check that users specified arguments correctly.
Learn how to return early from a function, how to return multiple values, and understand how R decides which variables exist.
Apply your function writing skills to a case study involving data preparation, visualization, and modeling.