named_list

0th

Percentile

Create a Named List

Create a Named List

Usage
named_list(nn = character(0L), init = NULL)
Arguments
nn

:: character() Names of new list.

init

:: any All list elements are initialized to this value.

Value

(list()).

Aliases
  • named_list
Examples
# NOT RUN {
named_list(c("a", "b"))
named_list(c("a", "b"), init = 1)
# }
Documentation reproduced from package mlr3misc, version 0.1.0, License: LGPL-3

Community examples

Looks like there are no examples yet.