add_elements: Adds named elements to a list when they are not there...

Description Usage Arguments Value

View source: R/utility.R

Description

Adds named elements to a list when they are not there already.

Usage

1
add_elements(input, ..., .lazy = FALSE)

Arguments

input

List. The input list to manipulate.

...

Key value pairs to add to the list provided the key is not already used.

.lazy

Logical; Should the values be evaluated?

Value

A modified list.


JonasMoss/SPQR documentation built on Oct. 30, 2019, 7:58 p.m.