join | R Documentation |
Connect given words with a conjunction, e.g. "and" and "or".
join(words, conjunction = "or")
words |
A vector of list whose items can be converted to characters. |
conjunction |
A single character which represents a conjunction word.
The default value is |
If has length 1 or less, words
is returned. Or items of words
are concatenated and returned.
words <- c("apple", "orange", "Pink Floyd")
join(words, "and")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.