Learn R Programming

oeli (version 0.7.1)

merge_lists: 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(...)

Value

A list.

Arguments

...

One or more named list(s).

See Also

Other list helpers: check_list_of_lists()

Examples

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

Run the code above in your browser using DataLab