enumerate {admiraldev} | R Documentation |
Enumerate multiple elements of a vector or list.
enumerate(x, quote_fun = backquote, conjunction = "and")
x |
A vector or list |
quote_fun |
Quoting function, defaults to |
conjunction |
Character to be used in the message, defaults to |
A character
vector
Helpers for working with Quotes and Quoting:
backquote()
,
dquote()
,
squote()
enumerate(c("one", "two", "three"))
enumerate(c(1, 2, 3), quote_fun = NULL)