nameByElement | R Documentation |
name the elements of a list of lists by the value of the element
elementName
of each sublist
nameByElement(x, elementName = "name")
x |
list of lists |
elementName |
name of element to be looked up in each sublist of
|
L <- list(
list(group = "A", value = 1),
list(group = "B", value = 2)
)
nameByElement(L, "group")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.