Description Usage Arguments Value Examples
Found on : http://stackoverflow.com/questions/13673894/suppress-nas-in-paste
1 |
... |
one or more R objects, to be converted to character vectors. |
sep |
a character string to separate the terms. |
collapse |
an optional character string to separate the results. |
na.rm |
logical. Should missing values (including NaN) be removed? |
A character vector of the concatenated values.
1 2 | paste("chaine1", NA_character_, "chaine2")
caractr::str_paste("chaine1", NA_character_, "chaine2")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.