Built-in functionals: lapply(), sapply(), and mapply()
R comes with built-in functionals, of which perhaps the most well-known are the apply family of functions. Here is a description of some of the most common apply functions:
lapply() = takes a list as an argument and applies the specified ...