paste_oxford: Compile a list ending with different final collapse

paste_oxfordR Documentation

Compile a list ending with different final collapse

Description

Compile a list ending with different final collapse

Usage

paste_oxford(..., final = "and", oxford = TRUE)

Arguments

...

- one or more R objects, to be converted to character vectors

final

- conjunction to use before serial list item (usually 'and' or 'or')

oxford

- TRUE/FALSE indicating whether to use the Oxford (i.e., serial) comma

Value

A character vector of the concatenated values.


pepfar-datim/datapackr documentation built on April 14, 2024, 10:35 p.m.