Description Usage Arguments Details Examples
This function is a port of ifelse from base. Usually the behaviour should be identical.
1 | ifelseC(test, yes, no)
|
test |
logical vector or an object that can be compressed to a logical vector |
yes |
numerical, character, integer or logical vector for cases where test is TRUE. |
no |
numerical, character, integer or logical vector for cases where test is FALSE. |
The parameters must have the same length, or, in the case of yes or no, length must be 1.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.