A key feature of R is functions. Functions are "self contained" modules of code that accomplish a specific task. Functions usually take in some sort of data structure (value, vector, dataframe etc.), ...
Defined chunk of code that can be called by later code Functions are defined with zero or more parameters Parameters are special variables available in the body of the function with values assigned by ...