Description Usage Arguments See Also
View source: R/helper_functions.R
Returns different values depending on whether a test is TRUE
or FALSE
.
1 | if_else(test, yes, no)
|
test |
An object which can be coerced to a logical value. |
yes |
Value returned if |
no |
Value returned if |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.