Learn R Programming

BBmisc (version 1.13)

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(...)

Value

[list]: Named list with objects.

Arguments

...

Arbitrary number of objects.

Examples

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

Run the code above in your browser using DataLab