View source: R/helpers_design.R
set_seed | R Documentation |
This code is basically copied from stats:::simulate.lm
.
set_seed(seed = NULL)
seed |
an object specifying if and how the random number generator
should be initialized ("seeded"). Either |
The integer vector containing the random number generate state will be returned, in order to call this function with this input to reproduce the obtained simulation results.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.