enumerate: Enumerate Multiple Strings

Description Usage Arguments Author(s) Examples

View source: R/utils.R

Description

Enumerate Multiple Strings

Usage

1
enumerate(x, quote_fun = backquote, conjunction = "and")

Arguments

x

A character vector

quote_fun

Quoting function, defaults to backquote.

conjunction

Character to be used in the message, defaults to "and".

Author(s)

Thomas Neitmann

Examples

1
2
3
4
5
6
7
admiral:::enumerate(c("STUDYID", "USUBJID", "PARAMCD"))
admiral:::enumerate(letters[1:6], quote_fun = admiral:::squote)
admiral:::enumerate(
  c("date", "time", "both"),
  quote_fun = admiral:::squote,
  conjunction = "or"
)

epijim/admiral documentation built on Feb. 13, 2022, 12:15 a.m.