merge_lists: merge_lists: Merges two list objects. This function appends...

View source: R/qDEA.R

merge_listsR Documentation

merge_lists: Merges two list objects. This function appends any objects in list2 and not in list 1 to list1 with priority given to list 1 components.

Description

merge_lists: Merges two list objects. This function appends any objects in list2 and not in list 1 to list1 with priority given to list 1 components.

Usage

merge_lists(list1, list2)

Arguments

list1

A list object

list2

A list object

Value

list3 A merged object

Examples

L1=list(a=1:3,b=4:6,c=7:9,e=10:12)
L2=list(b=13:15,d=16:18,e=19:21,f=22:24)
(L3=merge_lists(L1,L2))
(L4=merge_lists(L2,L1))

qDEA documentation built on April 13, 2026, 5:07 p.m.