These functions wrap a function of the apply()
family, and enforce various values for convenience. Arguments are
passed as is to an apply()
function.
Usage
vapply_1l(x, fun, ...)
vapply_1i(x, fun, ...)
vapply_1c(x, fun, ...)
map(fun, ..., more = list())
Value
vapply_1l()
,
vapply_1l()
, and
vapply_1c()
respectively return a logical, an integer, and a character
vector having the same length as x
. Names are always discarded.
map()
returns a list having the same length as the longest element passed
to ...
.
See also
Other utility functions:
format_vector()
,
stops()
,
str_to()