Description
In this course, you will :
- Learn why writing your own functions is useful, how to convert a script into a function, and how to include the arguments in the correct order.
- Learn how to set argument defaults, pass arguments between functions, and ensure that users specified arguments correctly.
- Learn how to return from a function early, how to return multiple values, and how R determines which variables exist.
Syllabus :
- How to write a function
- All about arguments
- Return values and scope