Create a chaining iterator

Share:

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]))