July 2016
Beginner to intermediate
832 pages
21h 51m
English

Before you start writing your own functions in R, it’s useful to understand how functions are called and interpreted in an R session. First, you’ll look at how variable names are compartmentalized in R. You’ll see R’s rules for naming arguments and objects, and how R searches for arguments and other variables when a function is called. Then you’ll look at some alternative ways to specify arguments when calling a function.
To begin with, it’s important to understand R’s scoping rules, which determine how the language compartmentalizes objects and retrieves them in a given session. This framework also defines the situations ...
Read now
Unlock full access