nullna_default | R Documentation |
a helper function to set default value when inputting NULL or NA
nullna_default(x, default)
x |
input argument |
default |
returned default value if x is NULL or NA |
x or default asis
nullna_default(NULL, c(1,2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.