merge_lists: Merge named lists

View source: R/merge_lists.R

merge_listsR Documentation

Merge named lists

Description

This function merges lists based on their element names. Elements are only included in the final output list, if no former list has contributed an element with the same name.

Usage

merge_lists(...)

Arguments

...

One or more named list(s).

Value

A list.

See Also

Other list helpers: check_list_of_lists()

Examples

merge_lists(list("a" = 1, "b" = 2), list("b" = 3, "c" = 4, "d" = NULL))

oeli documentation built on Oct. 16, 2024, 5:08 p.m.