enumerate.character | R Documentation |
Collapsing a character
vector of length n, to a
character
vector of length 1.
## S3 method for class 'character' enumerate(x, ...)
x |
character vector |
... |
further arguments passed to or from other methods. |
character
vector of length 1, with elements
separated by a comma except for the last element which
is prepended by "and".
enumerate("apples") enumerate(c("apples", "oranges")) enumerate(c("apples", "oranges", "pears"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.