Learn R Programming

rlist (version 0.2.3)

list.zip: Combine multiple lists element-wisely.

Description

Combine multiple lists element-wisely.

Usage

list.zip(..., use.argnames = TRUE, use.names = TRUE)

Arguments

...
lists
use.argnames
logical. Should the names of the arguments be used as the names of list items?
use.names
logical. Should the names of the first argument be used as the zipped list?

Examples

Run this code
x <- list(1,2,3)
y <- list("x","y","z")
list.zip(num=x,sym=y)

Run the code above in your browser using DataLab