Rdocumentation
powered by
Learn R Programming
assertive (version 0.2-1)
bapply: Wrapper to vapply that returns booleans.
Description
Wrapper to
vapply
for functions that return a boolean (logical scalar) value.
Usage
bapply(x, predicate, ..., USE.NAMES = TRUE)
Arguments
x
A vector (atomic or list).
predicate
A predicate (function that returns a bool) to apply elementwise to
x
.
...
Passed to
vapply
.
USE.NAMES
Passed to
vapply
.
Value
A logical vector.
See Also
vapply
.