List: Create a list and conveniently supply names to its elements

View source: R/List.R

ListR Documentation

Create a list and conveniently supply names to its elements

Description

List creates a list and names its elements after the arguments given, in a manner analogously to data.frame

Usage

  List(...)

Arguments

...

tagged or untagged arguments from which the list is formed. If the untagged arguments are variables from the englosing environment, their names become the names of the list elements.

Examples

  num <- 1:3
  strng <- c("a","b","A","B")
  logi <- rep(FALSE,7)
  List(num,strng,logi)

memisc documentation built on March 31, 2023, 7:29 p.m.