if_else {linbin} | R Documentation |
Generalized If Else
Description
Returns different values depending on whether a test is TRUE
or FALSE
.
Usage
if_else(test, yes, no)
Arguments
test |
An object which can be coerced to a logical value. |
yes |
Value returned if |
no |
Value returned if |
See Also
[Package linbin version 0.1.3 Index]