Description Usage Arguments Value
Class-Preserving If-Else
If-Else function preserving T
& F
classes
1 | ifelse_cp(test, yes, no)
|
test |
an object which can be coerced to logical mode |
yes |
return values for true elements of |
no |
return values for false elements of |
A vector of the same length and attributes as test
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.