bapply {assertive.base}R Documentation

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.

Note

USE.NAMES is set to TRUE

See Also

vapply.


[Package assertive.base version 0.0-9 Index]