dot-oxford: Create a List with a Serial Comma

.oxfordR Documentation

Create a List with a Serial Comma

Description

Create a List with a Serial Comma

Usage

.oxford(
  ...,
  cnj = c("or", "and"),
  quote = c("single", "fancysingle", "double", "fancydouble", "none")
)

Arguments

...

A character vector to join

cnj

Conjunction to use for final entry

quote

Quote the entries of ...; choose from:

  • single”: regular single quotes

  • fancysingle”: fancy single quotes

  • double”: regular double quotes

  • fancydouble”: fancy double quotes

  • none”: no extra quoting

Value

... arranged into an English list with a serial comma when needed

See Also

sQuote

Examples

.oxford('cell')
.oxford('cell', 'ident')
.oxford('cell', 'ident', 'gene')


mojaveazure/ggseurat documentation built on Dec. 10, 2024, 12:05 a.m.