chain: Create a chaining iterator

Description Usage Arguments Examples

View source: R/chain.R

Description

Create an iterator that chains multiple iterables together.

Usage

1

Arguments

...

The iterables to iterate over.

Examples

1
2
# Iterate over two iterables
as.list(chain(1:2, letters[1:3]))

itertools documentation built on May 31, 2017, 4:48 a.m.

Search within the itertools package
Search all R packages, documentation and source code