unlist_with_names: Call unlist and preserve the names

Description Usage Arguments Value

View source: R/functions.r

Description

Function unlist is called so that the output is an array (whenever possible) whose names attribute contains the names of the elements of the list (unchanged, i.e. without adding a number to identify them as the regular unlist() function does).

Usage

1

Arguments

alist

list to unlist.

Value

Whenever possible, an array whose names attribute is set to the names of the elements of the list.


envnames documentation built on Dec. 8, 2020, 9:07 a.m.