ifelseObj: Conditional returning of an object

Description Usage Arguments Value Examples

View source: R/ifelseObj.R

Description

The ifelseObj function just evaluates a condition, returning one object if it's true, and another if it's false.

Usage

1
ifelseObj(condition, ifTrue, ifFalse)

Arguments

condition

Condition to evaluate.

ifTrue

Object to return if the condition is true.

ifFalse

Object to return if the condition is false.

Value

One of the two objects

Examples

1

Matherion/justifier documentation built on Dec. 31, 2020, 3:13 p.m.