Description Usage Arguments Value Examples
A funtion to make further iterators
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
FUN |
A character string nominating an R function to generate the random numbers |
... |
extra arguments to be passed on to the generator function |
count |
The number of times that the iterator will fire. If not specified, it will fire values forever. |
An iterator function
1 2 3 | irexp <- makeIwrapper("rexp")
rexp_it <- irexp(n = 25)
rexp_it$nextElem()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.