Learn R Programming

assertive.base (version 0.0-9)

bapply: Wrapper to vapply that returns booleans

Description

Wrapper to vapply for functions that return a boolean (logical scalar) value.

Usage

bapply(x, predicate, ...)

Arguments

x

A vector (atomic or list).

predicate

A predicate (function that returns a bool) to apply. elementwise to x.

...

Passed to vapply.

Value

A logical vector.

See Also

vapply.