September 2018
Beginner
206 pages
4h 27m
English
The apply family of functions is an incredibly powerful set of R functions that you should learn early on in your R programming journey. It'll be very helpful to be skilled in summarizing across many variables at once. This is where the apply family of functions comes in.
The apply family is a set of functions that allows you to perform aggregating (using mean(), sum(), and other summary functions), transforming or sub-setting, and other functions (including custom functions!) across a large range of your dataset. The family of functions includes basic functions such as apply(), but also lapply(), sapply(), vapply(), mapply(), rapply(), and tapply(). Mostly, the difference between these different functions ...
Read now
Unlock full access