consolidateList: Group items of a list by name

View source: R/toolbox.R

consolidateListR Documentation

Group items of a list by name

Description

Group items of a list by name

Usage

consolidateList(x)

Arguments

x

A named list, likely with names repeating for different positions.

Value

A list with items consolidated by name.

Examples

consolidateList(list("col1" = "Test", "col2" = "Hello", "col1" = "Repeated Name"))

toolbox documentation built on Sept. 22, 2022, 1:09 a.m.