Understanding R Function Scoping and Closures
R is a widely used programming language for statistical computing. This course will teach you the fundamentals of understanding and creating your own custom functions, as well as function scoping and closures within R.
What you'll learn
R is a widely used programming language for statistical computing. In this course, Understanding R Function Scoping and Closures, you will learn foundational knowledge of creating your own custom functions within R as well as working with function scoping and closures. First, you will learn the basics of using and creating simple functions. Next, you will learn how to work with function returns and triggers and you will learn how to pass various data structures as arguments to a function. Finally, you will explore function closures and scoping within R. When you are finished with this course, you will have the skills of R functions needed to create your very own custom functions.