Description Usage Arguments Value Examples
Use in the place of ifelse
for arguments (particularly if NULL
is an option).
1 | IE(input, out1, out2 = NULL, FUN = is.numeric)
|
input |
An object to be tested. |
out1 |
The output if test is |
out2 |
The output if test is |
FUN |
A function that results in a logical output. |
Returns output 1 (out1) or output 2 (out2) as a function of the logical test.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.