set_seed | R Documentation |
Within Rcpp, one can set the R session seed without triggering the CRAN rng modifier check.
set_seed(seed)
seed |
A |
A set RNG scope.
set.seed(10) x = rnorm(5,0,1) set_seed(10) y = rnorm(5,0,1) all.equal(x,y, check.attributes = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.