argsAsNamedList {BBmisc}R Documentation

Parses ... arguments to a named list.

Description

The deparsed name will be used for arguments with missing names. Missing names will be set to NA.

Usage

argsAsNamedList(...)

Arguments

...

Arbitrary number of objects.

Value

[list]: Named list with objects.

Examples

z = 3
argsAsNamedList(x = 1, y = 2, z)
## $x
## [1] 1
## 
## $y
## [1] 2
## 
## $z
## [1] 3

[Package BBmisc version 1.7 Index]