lest (version 1.1.0)

cumall: Cumulative all and any

Description

Cumulative all and any

Usage

cumall(x)

cumany(x)

Arguments

x

a logical vector.

Value

a logical vector

Examples

Run this code
# NOT RUN {
cumall(c(TRUE, TRUE, NA, TRUE, FALSE))
cumany(c(FALSE, FALSE, NA, TRUE, FALSE))
# }

Run the code above in your browser using DataCamp Workspace