i_apply(obj, f)
returns the iteror that applies f
to
each element of the given iterable obj
. It is an iterator
equivalent of lapply
.
See also
To apply a function of multiple arguments to multiple
iterators, see i_map. To split an array over margins (like
iterators::i_apply
use iteror(obj, by=MARGIN