Simple function to load a seed token (and ensure that you don't break the normal code while doing so! WARNING: Output from this function needs to be assigned to .Random.seed with the global assignment operator <<- OTHERWISE the assignment will be local to the FUNCTION ONLY and will not properly reset the random seed!
1 | load.seed(run.id, seed.id, testing)
|
run.id |
Identifies which test run is being run |
seed.id |
Identifies the location where the seed needs saving |
testing |
TRUE/FALSE Indicator for whether a test is being run |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.