cumulative_all: Cumulative functions implemented in a functional style

cumulative_allR Documentation

Cumulative functions implemented in a functional style

Description

Cumulative functions implemented in a functional style

Usage

cumulative_all(x)

cumulative_any(x)

cumulative_none(x)

Arguments

x

A logical vector.

Details

Functions leveraging map and a function operator.

Examples

library(functionalPlayground)

x <- c(TRUE, TRUE, FALSE, FALSE)
cumulative_all(x)
cumulative_any(x)
cumulative_none(x)

gmcmacran/functional_playground documentation built on Aug. 5, 2024, 7:40 a.m.