Learn R Programming

tabxplor (version 1.1.0)

map2_if: A 2 arguments map_if

Description

A 2 arguments map_if

Usage

map2_if(.x, .y, .p, .f, ..., .else = NULL)

Arguments

.x, .y

Lists.

.p

Predicate.

.f

Function if TRUE.

...

Other parameter to pass to the function.

.else

Function if FALSE.

Value

A list of the same length.