Description Usage Arguments Value Examples
This function is significantly slower since names are set to returned objects everytime the iterator is called.
1 | add_names(itr, value)
|
itr |
an iterator |
value |
a character vector of desired names |
an iterator
1 2 3 | itr <- iterator_product(1:3, 4:5)
itr_named <- add_names(itr, c("a", "b"))
collect(itr, 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.