createIdAlong | R Documentation |
This function helps you create strings that can be used as identifiers.
createIdAlong(x, base_name = NULL)
x |
vector of objects for which to create identifiers |
base_name |
base string to which the hexadecimal suffixes are to be
appended. By default the name of the object |
vector of character as long as x
# Create ids for 32 numbers
createIdAlong(1:32, "number")
# Take base name from x, with the plural's "s" removed
numbers <- 1:32
createIdAlong(numbers)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.