This section takes an estimated 45 minutes to complete.

Functions play a critical role in any R program and you tend to write a lot of them while programming. This section focuses on functions in R.

Functions in R

To start, watch the following videos outlining the concept of functions in R:

swirl Exercises

Complete swirl Lesson 9: Functions, to solidify what you just learned, and return here afterward.


If you made it here, then congratulations! You have successfully completed this section. Move to the next portion of the guide with the arrow buttons below.

Last updated