Ifnull | R Documentation |
Set default value for object, equal to %||%
in rlang package
x %||% y
x |
ANY. An object |
y |
ANY. A default value |
%||%
: x
unless NULL
, otherwise y
1 %||% 1 NA %||% 1 NULL %||% 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.