Turn vectors into lists with any specified linking word
Arguments
- items
A vector of items to turn into a list phrase (e.g. c("a", "b", "c")).
- linking_word
Defaults to "and". Can be anything.
- oxford_comma
logical. Defaults toFALSE. If TRUE, an oxford comma is added (e.g. "a, b, and c"). This also applies to lists of two items, which is useful when nesting lists (e.g. "a, b or c, and d").
See also
Other verbaliseR functions:
num_to_text(),
pluralise(),
prettify_date(),
restore_capitals()
