Learn R Programming

functools (version 0.2.0)

Vapply: Wrapper for vapply function.

Description

Wrapper for vapply.

Usage

Vapply(.x, .f, fun_value, ..., use_names = TRUE)

Arguments

.x
A vector.
.f
A function to be applied.
fun_value
A (generalized) vector; a template for the return value from .f.
...
Optional arguments to .f.
use_names
Logical; if TRUE and if X is character, use .x as names for the result unless it had names already.

See Also

vapply for code and documentation.

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