addSep | R Documentation |
This function takes a character list and adds a separator string between each element. The last element is not followed by a separator.
addSep(charlist, sep = ", ")
charlist |
Character list to which the separator should be added. |
sep |
The separator string to be added between elements. Default is ", ". |
A single character string where elements from charlist
are separated by sep
.
li <- list("one","two","three")
addSep(li,"-")
addSep(li)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.