Description Usage Arguments Value Examples
Constructs a sequence of names, each of which has an increasing integer appended to it.
1 | get_incremental_names(n_items, prefix = NULL, sep = "_")
|
n_items |
integer: the number of names to generate. |
prefix |
character: an optional name prefix to use. E.g. if
|
sep |
character: separator to use between |
a character vector of names with successively incremented integer suffixes.
1 2 3 4 | get_incremental_names(2, "item")
get_incremental_names(3, "item", sep = "")
get_incremental_names(11, "z")
get_incremental_names(12)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.