| %&&% | R Documentation |
If the left-hand side is not NULL, returns the right-hand side. Otherwise,
returns NULL. This is useful for guarding expressions that should only be
executed if a value is not NULL. Meant to be similar to the %||% operator
(which returns y if x is NULL).
x %&&% y
x |
The object to check for |
y |
The value to return if |
NULL or the value of y.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.