or_operator: Operator to apply ifelse function

Description Usage Arguments Value Examples

Description

Operator to apply ifelse function

Usage

1
a %||% b

Arguments

a

First choice.

b

Second choice, used if 'a' is null

Value

Object a or b.

Examples

1
2
3
4
5
#Return 9
9 %||% 10

#Return 10
NULL %||% 10

LiamDBailey/baileyetal2021 documentation built on Feb. 10, 2022, 12:34 a.m.