paste2 | R Documentation |
Concatenate vectors after converting to character and removing
NA
values. See paste
.
paste2(..., sep = " ", collapse = NULL, na.rm = TRUE)
... |
one or more R objects, to be converted to character vectors. |
sep |
a character string to separate the terms.
Not |
collapse |
an optional character string to separate the results.
Not |
na.rm |
logical, indicating whether |
A character vector of the concatenated values.
paste2("word", NA)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.