Learn R Programming

toolbox (version 0.1.1)

argumentNamedList: Create a named list of length 1 using a name stored in a variable as the name.

Description

Create a named list of length 1 using a name stored in a variable as the name.

Usage

argumentNamedList(name, x)

Value

A named list.

Arguments

name

The name for the item in the list.

x

The item to put in the list.

Examples

Run this code
argumentNamedList("test_name", 1)

Run the code above in your browser using DataLab