Description Usage Arguments Value Author(s) References
Set a default value if an object is null
1 | set_if_null(lhs, rhs)
|
lhs |
An object to set if it's null |
rhs |
The value to provide if x is null |
rhs if lhs is null, else lhs
Hadley Wickham
https://adv-r.hadley.nz/functions.html#missing-arguments
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.