insideOutList | R Documentation |
Make a named list inside out. Then the elements of the list becomes the names of list, and the names of list becomes its element.
insideOutList(namedList)
namedList |
A named list. |
A list fliped inside out.
{
## Not run:
a = list(a = c("a1", "a2", "a3"),
b = c("a2", "b1", "b3"),
d = c("d3", "b1", "a2"))
insideOutList(a)
## End(Not run)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.