Description Usage Arguments Value Examples
Unnamed values will use index number instead.
1 | nested_names(el, delim = "/", prefix = "")
|
el |
list. |
delim |
character. The delimiter with which to separate nested names. |
prefix |
character. A prefix to every name. |
a list of nested names
1 2 3 4 | stagerunner:::nested_names(list(a = list(b = 1, c = list(d = 2, e = 3)), f = 4, 5))
# c('a/b', 'a/c/d', 'a/c/e', 'f', '3')
stagerunner:::nested_names(list(a = list(b = 1, c = 2), d = 2), delim = ' ', prefix = '#')
# c('#a b', '#a c', '#d')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.