named_list: Named List

Description Usage Arguments Value Examples

Description

Set the names of a list object as the same as the object itself

Usage

1

Arguments

...

objects to be passed into a list object

Value

A named list containing the input objects.

Examples

1
2
3
4
5
6
7
8
a <- TRUE
b <- 1:5
named_list(a, b)
#> $a
#> [1] TRUE
#>
#> $b
#> [1] 1 2 3 4 5

KevinRPan/handy documentation built on May 4, 2019, 2:34 p.m.