Wrapper for vapply.

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



A vector.


A function to be applied.


A (generalized) vector; a template for the return value from .f.


Optional arguments to .f.


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