Get List Item
get_list_item.Rd
This function retrieves the nth element of a given list.
Examples
my_list <- list(a = 1, b = 2, c = 3)
get_list_item(my_list, 2)
#> [1] 2
get_list_item.Rd
This function retrieves the nth element of a given list.
my_list <- list(a = 1, b = 2, c = 3)
get_list_item(my_list, 2)
#> [1] 2