| listr | R Documentation | 
A convenience function to format atomic vectors as a written list.
listr(x, sep = ", ", conj = " and ", lim = Inf)
| x | 
 | 
| sep | Separator. | 
| conj | Final separator. | 
| lim | Elements to include in the list. Other elements are abbreviated to  | 
character.
listr(1:5)
listr(1:5, sep = "; ")
listr(1:5, sep = "; ", conj = " and")
listr(1:5, sep = "; ", conj = " and", lim = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.