iff: Apply a function if and only if test is TRUE

Description Usage Arguments Details

View source: R/magrittr_extensions.R

Description

otherwise return input value unchanged

Usage

1
2
3
iff(obj, test, fun, ...)

iffn(obj, test, fun, ...)

Arguments

obj

object to apply test and fun to

test

logical or function to apply to test

fun

function to apply

...

passed on to test

Details

iffn is ... if and only if test is FALSE


gitlabr documentation built on May 29, 2017, 12:58 p.m.

Search within the gitlabr package
Search all R packages, documentation and source code