get_from_list: Get from list

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Retrieve object 'what' from 'lst'

Usage

1
get_from_list(lst, what)

Arguments

lst

list

what

object to retrieve (by name or index)

Value

Element of the list indicated

Examples

1
get_from_list(list("a" = "alpha", "b" = c(1,2,3)), "a") # "alpha"

dateutils documentation built on Nov. 10, 2021, 5:09 p.m.