MISSION 340

Writing Custom Functions

Learn to define your own single and multivariable functions and when to write a function.

Objectives

  • Learn when to write functions to simplify your code.
  • Write single and multivariable functions.
  • Write functions for conditional exercises.

Mission Outline

1. Introduction to Writing Your Own Functions
2. Anatomy of a Function
3. When to Write a Function
4. Writing Functions with Two Variables as Arguments
5. Writing Functions for Conditional Execution
6. Functions with More Than Two Arguments
7. Next Steps
8. Takeaways

intermediate-r-programming

Course Info:

Intermediate R Programming

Intermediate

The median completion time for this course is 6.4 hours.

This course is free. This course includes five missions. This course is the second course in the Data Analyst in R path.

START LEARNING FREE

Take a Look Inside