Learn R Programming

BBmisc (version 1.10)

argsAsNamedList: 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

Run this code
z = 3
argsAsNamedList(x = 1, y = 2, z)

Run the code above in your browser using DataLab