View source: R/get_incremental_names.R
| get_incremental_names | R Documentation | 
Constructs a sequence of names, each of which has an increasing integer appended to it. Digits are padded so that the names are of equal length.
get_incremental_names(n_items, prefix = NULL, sep = "_", start = 1)
n_items | 
 The number of names to generate.  | 
prefix | 
 An optional character name prefix to use. E.g. if
  | 
sep | 
 The character separator to use between   | 
start | 
 Starting value for the integer sequence.  | 
A character vector of equal-length names with successively incremented integer suffixes.
get_incremental_names(2, "item") get_incremental_names(3, "item", sep = "") get_incremental_names(11, "z") get_incremental_names(12) get_incremental_names(3, "a", start = 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.