i_apply | R Documentation |
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
.
i_apply(obj, f, ...)
obj |
an iterable. |
f |
a function |
... |
Additional arguments will be passed along to |
An iteror.
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.