View source: R/general_utils.R
try_seed | R Documentation |
Repeat an R expression a certain number of times with a random seed. Each iteration is self-paced by pressing a key. The random seed is printed along with the result of the
try_seed(expr, maxrun = 100, digits = 4)
expr |
an R expression |
maxrun |
the maximum number of iterations |
digits |
the number of digits for the random seed |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.