ifelseProper | R Documentation |
ifelse replacement for properly returning all datatypes.
ifelseProper(logicValue = NULL, ifTrue = NULL, ifFalse = NULL)
logicValue |
variable or expression resulting in TRUE or FALSE, if missing or not logical then the function will return NULL. |
ifTrue |
variable or expression to be returned when logicValue == TRUE |
ifFalse |
variable or expression to be returned when logicValue == FALSE |
depending on logicValue, ifTrue ir ifFalse.
not vectorized
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.