Description Usage Details Value Author(s) See Also Examples
View source: R/varComp-utilities.R
get.seed
obtains current pseudo-random number seeds.
1 | get.seed()
|
This function obtain the .Random.seed
object in the global environment. If it is absent, runif(1L)
is called and then the seed is obtained.
A numeric vector of .Random.seed
, with RNGkind
attribute being the result from calling RNGkind()
.
Long Qu
1 2 | set.seed(2034L)
all.equal(get.seed(), .Random.seed, check.attributes = FALSE)
|
[1] TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.