base

Complete tutorial on using 'apply' functions in R

Here I show you a useful family of functions that allows you to repetitively perform a specified function (e.g., sum, mean) across a vector, matrix, or data frame.