Wrapper for sapply.

Sapply(.x, .f, ..., simplify = TRUE, use_names = TRUE)



A vector.


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.

See also

sapply for code and documentation.

Other functionals: Apply; Lapply; Mapply; Tapply; Vapply