charzero_as_empty | R Documentation |
If the argument is a zero-length character vector (character(0)), returns an empty string (which is a character vector of length 1). Otherwise passes through the argument.
charzero_as_empty(x)
x |
the object to be tested for zero-length character vector |
an empty string if x
is a character vector of length zero, and x
otherwise
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.