Extracts a named element from a list of lists.
Extracts a named element from a list of lists.
extractSubList(xs, element, element.value, simplify = TRUE, use.names = TRUE)
xs |
[ |
element |
[ |
element.value |
[any] |
simplify |
[ |
use.names |
[ |
[list
| simplified vector
| matrix
]. See above.
xs = list(list(a = 1, b = 2), list(a = 5, b = 7)) extractSubList(xs, "a") extractSubList(xs, "a", simplify = FALSE)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.