mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2025-12-16 17:42:10 +01:00
35 lines
435 B
Markdown
35 lines
435 B
Markdown
|
|
# Subset elements from list of lists
|
||
|
|
|
||
|
|
General function to sub-setting details stored in list dictionaries.
|
||
|
|
|
||
|
|
## Usage
|
||
|
|
|
||
|
|
``` r
|
||
|
|
get_list_elements(name, element, dict = cut_methods())
|
||
|
|
```
|
||
|
|
|
||
|
|
## Arguments
|
||
|
|
|
||
|
|
- name:
|
||
|
|
|
||
|
|
list name to lookup
|
||
|
|
|
||
|
|
- element:
|
||
|
|
|
||
|
|
element to get
|
||
|
|
|
||
|
|
- dict:
|
||
|
|
|
||
|
|
dictionary to use
|
||
|
|
|
||
|
|
## Value
|
||
|
|
|
||
|
|
named vector
|
||
|
|
|
||
|
|
## Examples
|
||
|
|
|
||
|
|
``` r
|
||
|
|
get_list_elements(c("top", "bottom"), "descr")
|
||
|
|
#> Error in cut_methods(): object 'i18n' not found
|
||
|
|
```
|