append.overwrite.alists: Combine two argument lists

Description Usage Arguments Details Value Author(s) Examples

View source: R/append.overwrite.alists.R

Description

First argument list is master, second list slave

Usage

1
append.overwrite.alists(masterArgs,slaveArgs)

Arguments

masterArgs

List of arguments, of which will stay unchanged

slaveArgs

List of arguments, conflicts with masterArgs will be deleted. Additional args will be appended.

s

Details

This function combines to lists of arguments. Conflicts will be resolved by masterArgs.

Value

List of arguments, being masterArgs appended by slaveArgs

Author(s)

Soren Havelund Welling

Examples

1
2
3
4
5
arglist1 = alist(monkey="happy",telephone.no=53)
arglist2 = alist(monkey="sad",house.no=12)

#this should yield a alist(monkey="happy", telephone.no=53, house.no=12)
forestFloor:::append.overwrite.alists(arglist1,arglist2)

forestFloor documentation built on May 2, 2019, 2:40 a.m.