Description Usage Arguments Value See Also
Converts a character vector to a prose list. Often when working
with reproducible reports, a user will want to print a list of
character values but needs to respect English grammar: for example,
"dog", "cat", "mouse"
should be rendered as "dog, cat and
mouse".
1 | prose_vector(vals, oxford = FALSE, and = "and")
|
vals |
a character vector |
oxford |
a boolean indicating whether Oxford comma should be
used. If true a comma is placed before the |
and |
word before penultimate entry. Default = "and" |
a character of length one
https://gist.github.com/jkeirstead/48bf5845b235dc7a8d5a
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.