Learn R Programming

functools (version 0.2.0)

Sapply: Wrapper for sapply function.

Description

Wrapper for sapply.

Usage

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

Arguments

.x
A vector.
.f
A function to be applied.
...
Optional arguments to f.
simplify
Logical or character string; should the result be simplified to a vector, matrix or higher dimensional array if possible?
use_names
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