auto_named_list: Creates a named list where the names are taken from the input...

View source: R/utils.R

auto_named_listR Documentation

Creates a named list where the names are taken from the input variables

Description

NOTE: only supports arguments, not keyword arguments

Usage

auto_named_list(...)

Arguments

...

list elements

Value

named list of elements

Examples

a <- 1
b <- 2
auto_named_list(a, b)$a == 1
auto_named_list(a, b)$b == 2

edahelsinki/slise documentation built on Aug. 24, 2023, 11:03 p.m.