vec2phrase | R Documentation |
Convert a vector to an English list
vec2phrase(x)
x |
A vector of values to convert into a string representing a grammatically correct English list. |
A string representing a grammatically correct English list.
Sercan Kahveci
vec2phrase(c("apples","oranges"))
vec2phrase(c("eggs"))
vec2phrase(c())
vec2phrase(c("cheese","milk","yoghurt","kefir"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.