if_null_else | R Documentation |
Used to safely handle NULL values: returns y if x is NULL, otherwise returns x
if_null_else(x, y)
x |
Any R object (may be NULL) |
y |
Default value to return when x is NULL |
x if x is not NULL, otherwise y
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.