nlist: Named list function.

Description Usage Arguments Value

View source: R/utility.R

Description

This function is a drop-in replacement for the base list() function, which automatically names your list according to the names of the variables used to construct it. It seemlessly handles lists with some names and others absent, not overwriting specified names while naming any unnamed parameters. Took me awhile to figure this out.

Usage

1

Arguments

...

arguments passed to list()

Value

A named list object.


nsheff/LOLA documentation built on Sept. 8, 2020, 11:50 a.m.