Sapply(.x, .f, ..., simplify = TRUE, use_names = TRUE)
A function to be applied.
Optional arguments to f.
Logical or character string; should the result be simplified to a vector, matrix or higher dimensional array if possible?
Logical; if TRUE and if .x is character, use .x as names for the result unless it had names already.
sapply for code and documentation.