Description Usage Arguments See Also Examples
View source: R/list.zip.R
Combine multiple lists element-wisely.
1
list.zip(..., use.argnames = TRUE, use.names = TRUE)
...
lists
list
use.argnames
logical. Should the names of the arguments be used as the names of list items?
logical
use.names
logical. Should the names of the first argument be used as the zipped list?
list.unzip
1 2 3
x <- list(1,2,3) y <- list('x','y','z') list.zip(num=x,sym=y)
[[1]] [[1]]$num [1] 1 [[1]]$sym [1] "x" [[2]] [[2]]$num [1] 2 [[2]]$sym [1] "y" [[3]] [[3]]$num [1] 3 [[3]]$sym [1] "z"
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.