ifnull | R Documentation |
Replaces the focal input with the alternative value if it
is NULL
.
ifnull(x = NULL, alt = NULL)
x |
Focal input. |
alt |
Alternative value. |
x
if not NULL
, alt
otherwise.
ifnull(NULL, 123) ifnull(TRUE, 123) ifnull(FALSE, 123)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.