argsAsNamedList {BBmisc} | R Documentation |
...
arguments to a named list.The deparsed name will be used for arguments with missing names.
Missing names will be set to NA
.
argsAsNamedList(...)
... |
Arbitrary number of objects. |
[list
]: Named list with objects.
z = 3
argsAsNamedList(x = 1, y = 2, z)
## $x
## [1] 1
##
## $y
## [1] 2
##
## $z
## [1] 3