str_csv | R Documentation |
Paste values together, separated by commas
str_csv(..., collapse = ", ", n = Inf, na = "NA", na.rm = FALSE)
... |
(character) strings to concatenate |
collapse |
(character) separator |
n |
(integer) concatenate at most this many strings |
na |
(character) if |
na.rm |
(logical) remove |
str_and()
str_csv(1:3)
str_csv(1:3, "A", c("B", "C"))
str_csv(LETTERS, n = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.