Skip to contents

This is a wrapper function of xfun::join_words().

Usage

combine_words(
  words,
  sep = ", ",
  and = " and ",
  before = "",
  after = before,
  oxford_comma = TRUE
)

Source

Adapted from knitr::combine_words() in the knitr package.

Value

A character string

Author

Yihui Xie xie@yihui.name (ORCID)