vec2string | R Documentation |
Turn a vector into a single character string with the items separated by commas and an "and".
vec2string(x, conjunction = "and")
x |
A vector |
conjunction |
Word used to combine the strings |
vec2string(letters[1:2])
vec2string(letters[1:4])
vec2string(letters[1:4], "or")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.