.if_value {cohortBuilder}R Documentation

Return default value if values are equal

Description

Return default value if values are equal

Usage

.if_value(x, value, default)

Arguments

x

Condition to be compared with value.

value

Value to be compared with x.

default

Default value to be returned when 'x' is identical to 'value'.

Value

Evaluated condition or provided default value.


[Package cohortBuilder version 0.2.0 Index]