Description Usage Arguments Value Examples
Based on user input seeds, this function generates a pseudo-random number. This is called by the mlsjunkgen package's other functions to generate a pseudo-random number stream.
1 | junkgen(w, x, y, z)
|
w |
the first seed required by the MLS Junk Generator algorithm |
x |
the first seed required by the MLS Junk Generator algorithm |
y |
the first seed required by the MLS Junk Generator algorithm |
z |
the first seed required by the MLS Junk Generator algorithm |
A numeric vector containing a single pseudo-random number
1 2 3 4 5 6 7 | # Generate a pseudo-random number with user-specified seeds
w <- 1
x <- 2
y <- 3
z <- 4
junkgen(w = w, x = x, y = y, z = z) # returns "[1] 0.9551644"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.