zip2: Zip / Enumerate from python

Description Usage Arguments Details Value Author(s) References Examples

View source: R/zip.R

Description

zip2s together parallel lists into a list-of-lists. It is named zip2 to not collide with utils.

Usage

1
2
3

Arguments

...

Objects to be zipped together.

Details

enumerate zips together a list with it's indices.

Value

a list of lists

Author(s)

Neal Fultz

References

https://stackoverflow.com/questions/9281323/zip-or-enumerate-in-r/57564884#57564884

Examples

1
2
zip2(1:5,1:10)
enumerate(l=LETTERS)

stackoverflow documentation built on Jan. 10, 2020, 9:07 a.m.