Description Usage Arguments Value Examples
DEPRECATED: Turn a vector into one long string, used to generate messages
1 | vec2string(x, quoted = TRUE, add_and = TRUE)
|
x |
Vector to convert |
quoted |
Should the individual elements have quotes around them? |
add_and |
Should we add an 'and' before the last element |
A string (length 1 character vector)
1 2 3 4 | ## Not run:
vec2string(c(1,2,3)) # "'1', '2', and '3'"
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.