add_item_to_list: Add named item (including 'NULL') to a list.

add_item_to_listR Documentation

Add named item (including NULL) to a list.

Description

Add named item (including NULL) to a list.

Usage

add_item_to_list(l, key, value = NULL)

Arguments

l

A list.

key

A character scalar: name under which value will be placed.

value

Any object.

Value

A list.

Examples

add_item_to_list(list(1, a = 2), "b")

bioinfocz/scdrake documentation built on Sept. 19, 2024, 4:43 p.m.