Learn R Programming

diffrprojects (version 0.1.14)

get_list_item: extract specific item from each list element

Description

extract specific item from each list element

Usage

get_list_item(l, item, unlist = TRUE)

Arguments

l
list
item
name or index of item to extract
unlist
defaults to TRUE, whether to unlist results or leave as list