create_list: create_list

View source: R/utils.r

create_listR Documentation

create_list

Description

Create an empty list that is length names and with each element named by the vector of names provided. This is shorthand for creating an empty list and then assigning it names.

Usage

create_list(names)

Arguments

names

A character or integer vector of names to be assigned to list.

Value

An empty named list of length names.


lukehannan/lumisc documentation built on May 9, 2022, 12:59 p.m.