R: Combine two argument lists

append.overwrite.alists {forestFloor} | R Documentation

## Combine two argument lists

### Description

First argument list is master, second list slave

### Usage

    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

    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)

[Package forestFloor version 1.11.1 Index]