Week 13


This week turns to learning the basics of creating your own functions within R. Part of the power of R is that it is a fully functional programming language that can be used to extend R’s functionality. This week will give you some basics to create your own functions.


After completing this module, students will be able to:

  • Define user written functions
  • Define function conditional logic
  • Define function inputs and returned values
  • Identify need for user written functions
  • Create user written functions

Weekly Videos

  • Introduction to Custom User Functions
  • Function Basics
  • Conditional Logic in Functions
  • Returned Values from Functions

R Syntax


To come …