ifelse2_pipe: This is a generalisation of ifelse that accepts an object and...

View source: R/utilities.R

ifelse2_pipeR Documentation

This is a generalisation of ifelse that accepts an object and return an objects

Description

This is a generalisation of ifelse that accepts an object and return an objects

Usage

ifelse2_pipe(.x, .p1, .p2, .f1, .f2, .f3 = NULL)

Arguments

.x

A tibble

.p1

A boolean

.p2

ELSE IF condition

.f1

A function

.f2

A function

.f3

A function

Value

A tibble


stemangiola/nanny documentation built on July 29, 2023, 1:23 a.m.