Learn R Programming

memisc (version 0.99.31.7)

List: 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

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

Run the code above in your browser using DataLab