string_join | R Documentation |
Join (collapse) elements into a single string or vector.
string_join(s, collapse)
s |
A string (character) vector. |
collapse |
A string by which to separate the elements of a vector. |
string_join()
joins vector elements into a single string. Synonyms are s_join()
and join()
.
Character vector.
https://github.com/robertschnitman/stringops
string_join(rownames(mtcars), ", ")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.