Learn R Programming

tabxplor (version 1.1.0)

pmap_if: A generalized map_if

Description

A generalized map_if

Usage

pmap_if(.l, .p, .f, ..., .else = NULL)

Arguments

.l

List of lists.

.p

Predicate.

.f

Function if TRUE.

...

Other parameter to pass to the function.

.else

Function if FALSE.

Value

A list of same length.