The function suppresses NAs when pasting columns together in a data frame.
1 |
... |
one or more R objects to be converted to character vectors. |
sep |
String A character string to separate the terms |
collapse |
String An optional character string to separate the results. See the base paste function help for details. Default is NULL |
na.rm |
Must set to TRUE to suppress NAs |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.