combine.lists: List combiner

View source: R/combine.lists.R

combine.listsR Documentation

List combiner

Description

Combines two or more lists in a single one keeping the element names.

Usage

combine.lists(list.of.lists)

Arguments

list.of.lists

A list of lists.

Value

It returns a list that is a combination of the lists in the input list.
If the list is not a nested list of list the original input is returned.

Examples

combined_list = combine.lists(list.of.lists = list(list(c(1:2), c(1:3)), list("X" = c("A", "B"), "Y" = 2)))

combined_list = combine.lists(list.of.lists = list(c(1:2), c(1:3)))


sebastian-gregoricchio/Rseb documentation built on May 15, 2024, 5:45 a.m.