Description Usage Arguments Value Examples
This function is a faster version of ifelse function
1 | iif(cond, truepart, falsepart)
|
cond |
true / false condition |
truepart |
resulting value(s) if condition is true |
falsepart |
resulting value(s) if condition is false |
number of elements in x
1 2 3 4 | ## Not run:
iif(1:10 > 5, 1, 1:10)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.