Sapply: Wrapper for sapply function.

Description Usage Arguments See Also

Description

Wrapper for sapply.

Usage

1
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


functools documentation built on May 2, 2019, 5:39 a.m.