vapply_helpers: vapply helpers

vapply_helpersR Documentation

vapply helpers

Description

Used internally. Helpers for simplifying code invoking vapply().

Usage

vapply_num(X, FUN, ...)

vapply_int(X, FUN, ...)

vapply_str(X, FUN, ...)

vapply_lgl(X, FUN, ...)

Arguments

X

a vector (atomic or list) or an expression object. Other objects (including classed objects) will be coerced by base::as.list.

FUN

the function to be applied to each element of X: see ‘Details’. In the case of functions like +, %*%, the function name must be backquoted or quoted.

...

optional arguments to FUN.


adaptr documentation built on May 29, 2024, 7:48 a.m.