rlist (version 0.4.6.1)

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?

See Also

list.unzip

Examples

Run this code
# NOT RUN {
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