paste_oxford_list | R Documentation |
The word 'and' is inserted before the last element and an Oxford comma is used.
paste_oxford_list(x)
x |
a list or vector |
a string where each element in x
is separated by a comma
Pat Schloss pschloss@umich.edu
Kelly Sovacool sovacool@umich.edu
paste_oxford_list(1:3)
paste_oxford_list(c("cats", "dogs", "turtles"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.