list_names_to_values: Append names of a list of lists as values in each sublist.

list_names_to_valuesR Documentation

Append names of a list of lists as values in each sublist.

Description

Append names of a list of lists as values in each sublist.

Usage

list_names_to_values(l, key = "name")

Arguments

l

A named list of lists.

key

A character scalar: name of item under which names of outer list will be appended.

Value

A named list of lists.

Examples

list_names_to_values(list(a = list(1), b = list(c = 3)))

bioinfocz/scdrake documentation built on Sept. 19, 2024, 4:43 p.m.